better layout for dialogs

Massimo Melina committed Jul 18, 2025 at 14:51 UTC 96562745be0c8c003bf4a6866fd9b0534583949a
1 file changed +1 -1
admin/src/dialog.ts
+1 -1
@@ -58,7 +58,7 @@ dialogsDefaults.Container = function Container(d: DialogOptions) {
58 h(DialogContent, {
59 ref,
60 sx: {
61 - p: d.padding ? 1 : 0, pt: '16px !important', overflow: 'initial',
61 + p: d.padding ? { xs: 1, sm: undefined } : 0, pt: '16px !important', overflow: 'initial',
62 display: 'flex', flexDirection: 'column', justifyContent: 'center', alignItems: 'stretch',
63 ...sx,
64 }