Skip to content

Commit

Permalink
Optimise panel space for small screens (#1690)
Browse files Browse the repository at this point in the history
  • Loading branch information
MiraGeowerkstatt authored Nov 21, 2024
2 parents 2b00775 + 923d6d6 commit e65d6e9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/client/src/pages/detail/detailPageContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,12 @@ export const DetailPageContent = ({
display: "flex",
flex: "1 1 100%",
flexDirection: "column",
px: 11,
px: {
xs: 2,
sm: panelOpen ? 2 : 6,
md: panelOpen ? 2 : 11,
lg: panelOpen ? 4 : 11,
},
py: 5,
overflowY: "auto",
backgroundColor: theme.palette.background.lightgrey,
Expand Down

0 comments on commit e65d6e9

Please sign in to comment.