Skip to content

Commit

Permalink
fixing overlapping spacing issue
Browse files Browse the repository at this point in the history
  • Loading branch information
sam9116 committed May 11, 2024
1 parent d3ce632 commit 31dd28e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@ function App() {
<Grid
className="App-header"
container
spacing={2}
columnSpacing={{ xs: 1, sm: 2, md: 3, lg: 10, xl: 3 }}
alignItems="flex-start"
>
<Grid direction={"column"} xs={10} sm={10} md={10} lg={2} xl={2} spacing={2}>
<Grid direction={"column"} xs={10} sm={10} md={10} lg={2} xl={2}>
<Box>
<img src={window.location.origin + "/Taver.png"} alt="Taver" />
</Box>
Expand Down
2 changes: 1 addition & 1 deletion src/SharePage.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const SharePage = ({ concerts, userLocation, mapStyle, setPosterName }) => {


return (
<Stack disablePadding>
<Stack disablePadding spacing={3}>
{isLoaded ? <Map concerts={concerts} userLocation={userLocation} mapStyle={mapStyle} /> : null}
<TextField
variant="standard"
Expand Down
2 changes: 1 addition & 1 deletion src/map.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ function Map({ concerts, userLocation, mapStyle }) {
maxZoom: 20,
disableDefaultUI: true
}}
mapContainerStyle={(width / height) >= 1 ? { width: "100wh", height: "50vh" } : { width: "100wh", height: "75vh" }}
mapContainerStyle={(width / height) >= 1 ? { width: "100wh", height: "75vh" } : { width: "100wh", height: "75vh" }}
>
{userLocation && (
<MarkerF
Expand Down

0 comments on commit 31dd28e

Please sign in to comment.