Skip to content

Commit

Permalink
current dialog width was exceeding smaller screen size widths, should…
Browse files Browse the repository at this point in the history
… now fit full device width without overflow
  • Loading branch information
kianamcc committed Dec 30, 2024
1 parent 3a8d5ca commit e057d97
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/synapse-react-client/src/components/DialogBase.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,12 @@ export const DialogBase = ({
open={open}
className={className}
onClose={() => onCancel()}
sx={sx}
sx={theme => ({
...sx,
[theme.breakpoints.down('sm')]: {
width: '100vw',
},
})}
{...DialogProps}
PaperProps={{
sx: theme => ({
Expand Down

0 comments on commit e057d97

Please sign in to comment.