Skip to content

Commit

Permalink
fix: full page spacings for map and academy
Browse files Browse the repository at this point in the history
  • Loading branch information
benfurber committed Jan 9, 2025
1 parent e89c1f8 commit f4db4cf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/pages/Maps/Content/MapView/MapList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ export const MapList = (props: IProps) => {
display: ['none', 'none', 'block', 'block'],
background: 'white',
flex: 1,
overflow: 'scroll',
overflowY: 'scroll',
overflowX: 'hidden',
}}
>
<MapWithListHeader {...headerProps} viewport="desktop" />
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Maps/Maps.client.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const MapsPage = () => {
}, [allPins])

return (
<Box id="mapPage" sx={{ height: 'calc(100vh - 120px)', width: '100%' }}>
<Box id="mapPage" sx={{ height: 'calc(100vh - 80px)', width: '100%' }}>
<MapContainer
allPins={allPins}
allToggleFilters={allToggleFilters}
Expand Down
2 changes: 1 addition & 1 deletion src/routes/_.academy.$.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export async function clientLoader() {

export default function Index() {
return (
<Main style={{ flex: 1 }} ignoreMaxWidth={true}>
<Main style={{ flex: 1, overflow: 'hidden' }} ignoreMaxWidth={true}>
<SeoTagsUpdateComponent title="Academy" />
<Academy />
</Main>
Expand Down

0 comments on commit f4db4cf

Please sign in to comment.