@superdispatch/ui 0.13.0 → 0.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,6 +6,14 @@ export function overrideDialog(theme) {
6
6
  theme.overrides.MuiDialog = {
7
7
  paper: {
8
8
  margin: theme.spacing(3)
9
+ },
10
+ paperWidthXs: {
11
+ maxWidth: Math.max(theme.breakpoints.values.xs, 360),
12
+ '&$paperScrollBody': {
13
+ [theme.breakpoints.down(Math.max(theme.breakpoints.values.xs, 360) + 32 * 2)]: {
14
+ maxWidth: 'calc(100% - 64px)'
15
+ }
16
+ }
9
17
  }
10
18
  };
11
19
  theme.overrides.MuiDialogTitle = {
package/dist-web/index.js CHANGED
@@ -2444,6 +2444,14 @@ function overrideDialog(theme) {
2444
2444
  theme.overrides.MuiDialog = {
2445
2445
  paper: {
2446
2446
  margin: theme.spacing(3)
2447
+ },
2448
+ paperWidthXs: {
2449
+ maxWidth: Math.max(theme.breakpoints.values.xs, 360),
2450
+ '&$paperScrollBody': {
2451
+ [theme.breakpoints.down(Math.max(theme.breakpoints.values.xs, 360) + 32 * 2)]: {
2452
+ maxWidth: 'calc(100% - 64px)'
2453
+ }
2454
+ }
2447
2455
  }
2448
2456
  };
2449
2457
  theme.overrides.MuiDialogTitle = {