Skip to content

Commit

Permalink
Fix map layout
Browse files Browse the repository at this point in the history
  • Loading branch information
LeandraH committed Dec 3, 2024
1 parent 4b87183 commit 6ba607e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/src/components/Layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ const Body = styled.div<{ $fullWidth: boolean; $disableScrollingSafari: boolean

const Main = styled.main<{ $fullWidth: boolean }>`
display: inline-block;
width: ${props => (props.$fullWidth ? '100%' : dimensions.maxWidth - 2 * dimensions.toolbarWidth)}px;
max-width: calc(100% - ${dimensions.toolbarWidth}px);
width: ${props => (props.$fullWidth ? '100%' : `${dimensions.maxWidth - 2 * dimensions.toolbarWidth}px`)};
max-width: ${props => (props.$fullWidth ? '100%' : `calc(100% - ${dimensions.toolbarWidth}px)`)};
box-sizing: border-box;
margin: 0 auto;
padding: ${props => (props.$fullWidth ? '0' : `0 ${dimensions.mainContainerHorizontalPadding}px 30px`)};
Expand Down

0 comments on commit 6ba607e

Please sign in to comment.