Skip to content

Commit 92dd4b0

Browse files
committed
[docs-infra][draft] Test Full width demo
1 parent 37af530 commit 92dd4b0

4 files changed

Lines changed: 1609 additions & 43 deletions

File tree

docs/pages/x/react-data-grid/pivoting.js

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,31 @@ import MarkdownDocs from 'docs/src/modules/components/MarkdownDocs';
33
import * as pageProps from 'docsx/data/data-grid/pivoting/pivoting.md?muiMarkdown';
44

55
export default function Page() {
6-
return <MarkdownDocs {...pageProps} disableAd />;
6+
return (
7+
<MarkdownDocs
8+
{...pageProps}
9+
disableAd
10+
sx={{
11+
'& .MuiDocs-footer-block': {
12+
// marginLeft: 'auto',
13+
// marginRight: 'auto',
14+
// maxWidth: 'var(--MuiDocs-text-width)',
15+
},
16+
// '& .MuiDocs-content-block.MuiDocs-api-content-block': {
17+
// marginLeft: 0,
18+
// marginRight: 'auto',
19+
// maxWidth: 'calc(2 * var(--MuiDocs-text-width))',
20+
// },
21+
'& .MuiDocs-content-block': {
22+
marginLeft: 0,
23+
marginRight: 'auto',
24+
maxWidth: 'var(--MuiDocs-text-width)',
25+
},
26+
'& .MuiDocs-content-block.MuiDocs-demo-block': {
27+
maxWidth: 'unset',
28+
},
29+
//
30+
}}
31+
/>
32+
);
733
}

docs/pages/x/react-scheduler/index.js

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,30 @@ import MarkdownDocs from 'docs/src/modules/components/MarkdownDocs';
33
import * as pageProps from 'docsx/data/scheduler/overview/overview.md?muiMarkdown';
44

55
export default function Page() {
6-
return <MarkdownDocs {...pageProps} />;
6+
return (
7+
<MarkdownDocs
8+
{...pageProps}
9+
sx={{
10+
'& .MuiDocs-footer-block': {
11+
// marginLeft: 'auto',
12+
// marginRight: 'auto',
13+
// maxWidth: 'var(--MuiDocs-text-width)',
14+
},
15+
// '& .MuiDocs-content-block.MuiDocs-api-content-block': {
16+
// marginLeft: 0,
17+
// marginRight: 'auto',
18+
// maxWidth: 'calc(2 * var(--MuiDocs-text-width))',
19+
// },
20+
'& .MuiDocs-content-block': {
21+
marginLeft: 0,
22+
marginRight: 'auto',
23+
maxWidth: 'var(--MuiDocs-text-width)',
24+
},
25+
'& .MuiDocs-content-block.MuiDocs-demo-block': {
26+
maxWidth: 'unset',
27+
},
28+
//
29+
}}
30+
/>
31+
);
732
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
"@mui/internal-markdown": "^2.0.5",
9292
"@mui/internal-test-utils": "^2.0.8",
9393
"@mui/material": "^7.0.2",
94-
"@mui/monorepo": "github:mui/material-ui#adb0a76b09080d02f899789266336b297850d86b",
94+
"@mui/monorepo": "github:alexfauquette/material-ui#9effc7c97c10c1d59287a55946f91d7c52d051f8",
9595
"@mui/utils": "^7.0.2",
9696
"@next/eslint-plugin-next": "15.3.2",
9797
"@octokit/plugin-retry": "^7.2.1",

0 commit comments

Comments
 (0)