Skip to content

Commit

Permalink
[docs] Add scrollbar to color picker demo (#43672)
Browse files Browse the repository at this point in the history
Signed-off-by: sai chand <60743144+sai6855@users.noreply.github.com>
Co-authored-by: Zeeshan Tamboli <zeeshan.tamboli@gmail.com>
  • Loading branch information
sai6855 and ZeeshanTamboli authored Sep 11, 2024
1 parent ade1219 commit 2d311c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/data/material/customization/color/ColorDemo.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function ColorDemo(props) {
</Typography>
</Toolbar>
</AppBar>
<Box component="pre" sx={{ m: 2, fontSize: 16 }}>
<Box component="pre" sx={{ m: 2, fontSize: 16, overflowX: 'auto' }}>
{`{
palette: {
primary: ${primary.output},
Expand Down

0 comments on commit 2d311c3

Please sign in to comment.