Skip to content

Commit 2d311c3

Browse files
[docs] Add scrollbar to color picker demo (#43672)
Signed-off-by: sai chand <60743144+sai6855@users.noreply.github.com> Co-authored-by: Zeeshan Tamboli <zeeshan.tamboli@gmail.com>
1 parent ade1219 commit 2d311c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/data/material/customization/color/ColorDemo.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ function ColorDemo(props) {
5858
</Typography>
5959
</Toolbar>
6060
</AppBar>
61-
<Box component="pre" sx={{ m: 2, fontSize: 16 }}>
61+
<Box component="pre" sx={{ m: 2, fontSize: 16, overflowX: 'auto' }}>
6262
{`{
6363
palette: {
6464
primary: ${primary.output},

0 commit comments

Comments
 (0)