Skip to content

Commit

Permalink
padding change, targeted styling
Browse files Browse the repository at this point in the history
  • Loading branch information
kianamcc committed Jan 2, 2025
1 parent e057d97 commit d50f4b9
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions packages/synapse-react-client/src/components/DialogBase.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,20 +106,18 @@ export const DialogBase = ({
...sx,
[theme.breakpoints.down('sm')]: {
width: '100vw',
'.MuiDialog-container > .MuiPaper-root': {
[theme.breakpoints.down('sm')]: {
padding: '33px',
margin: 0,
width: '100%',
height: '100%',
maxHeight: 'unset',
},
},
},
})}
{...DialogProps}
PaperProps={{
sx: theme => ({
[theme.breakpoints.down('sm')]: {
margin: 0,
width: '100%',
height: '100%',
maxHeight: 'unset',
padding: '16px',
},
}),
}}
>
<DialogBaseTitle
title={title}
Expand Down

0 comments on commit d50f4b9

Please sign in to comment.