@mui/docs 6.1.3 → 6.1.5

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.
@@ -13,10 +13,6 @@ const Pre = styled('pre')(({
13
13
  // fallback color until Prism's theme is loaded
14
14
  WebkitOverflowScrolling: 'touch',
15
15
  // iOS momentum scrolling.
16
- maxWidth: 'calc(100vw - 32px)',
17
- [theme.breakpoints.up('md')]: {
18
- maxWidth: 'calc(100vw - 32px - 16px)'
19
- },
20
16
  '& code': {
21
17
  // Avoid layout jump after hydration (style injected by Prism)
22
18
  ...theme.typography.caption,
@@ -34,11 +34,7 @@ const Root = styled('div')(({
34
34
  overflow: 'auto',
35
35
  WebkitOverflowScrolling: 'touch',
36
36
  fontSize: lightTheme.typography.pxToRem(13),
37
- maxWidth: 'calc(100vw - 32px)',
38
- maxHeight: '400px',
39
- [lightTheme.breakpoints.up('md')]: {
40
- maxWidth: 'calc(100vw - 32px - 16px)'
41
- }
37
+ maxHeight: '400px'
42
38
  },
43
39
  '& code': {
44
40
  ...lightTheme.typography.body2,
@@ -21,10 +21,6 @@ const Pre = (0, _styles.styled)('pre')(({
21
21
  // fallback color until Prism's theme is loaded
22
22
  WebkitOverflowScrolling: 'touch',
23
23
  // iOS momentum scrolling.
24
- maxWidth: 'calc(100vw - 32px)',
25
- [theme.breakpoints.up('md')]: {
26
- maxWidth: 'calc(100vw - 32px - 16px)'
27
- },
28
24
  '& code': {
29
25
  // Avoid layout jump after hydration (style injected by Prism)
30
26
  ...theme.typography.caption,
@@ -42,11 +42,7 @@ const Root = (0, _styles.styled)('div')(({
42
42
  overflow: 'auto',
43
43
  WebkitOverflowScrolling: 'touch',
44
44
  fontSize: _branding.brandingLightTheme.typography.pxToRem(13),
45
- maxWidth: 'calc(100vw - 32px)',
46
- maxHeight: '400px',
47
- [_branding.brandingLightTheme.breakpoints.up('md')]: {
48
- maxWidth: 'calc(100vw - 32px - 16px)'
49
- }
45
+ maxHeight: '400px'
50
46
  },
51
47
  '& code': {
52
48
  ..._branding.brandingLightTheme.typography.body2,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/docs",
3
- "version": "6.1.3",
3
+ "version": "6.1.5",
4
4
  "private": false,
5
5
  "author": "MUI Team",
6
6
  "description": "MUI Docs - Documentation building blocks.",
@@ -23,12 +23,12 @@
23
23
  },
24
24
  "homepage": "https://github.com/mui/material-ui/tree/master/packages/mui-docs",
25
25
  "dependencies": {
26
- "@babel/runtime": "^7.25.6",
26
+ "@babel/runtime": "^7.25.7",
27
27
  "clipboard-copy": "^4.0.1",
28
28
  "clsx": "^2.1.1",
29
29
  "nprogress": "^0.2.0",
30
30
  "prop-types": "^15.8.1",
31
- "@mui/internal-markdown": "^1.0.16"
31
+ "@mui/internal-markdown": "^1.0.18"
32
32
  },
33
33
  "peerDependencies": {
34
34
  "@mui/base": "*",