Skip to content

Commit 35749c0

Browse files
authored
[charts] Fix demo not wrapping in mobile (#20713)
1 parent 86e8646 commit 35749c0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/data/charts/lines/ColorScale.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export default function ColorScale() {
1414

1515
return (
1616
<Stack direction="column" spacing={1} sx={{ width: '100%', maxWidth: 600 }}>
17-
<Stack direction="row" spacing={1}>
17+
<Stack direction="row" spacing={1} flexWrap="wrap">
1818
<TextField
1919
select
2020
sx={{ minWidth: 150 }}

docs/data/charts/lines/ColorScale.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export default function ColorScale() {
1818

1919
return (
2020
<Stack direction="column" spacing={1} sx={{ width: '100%', maxWidth: 600 }}>
21-
<Stack direction="row" spacing={1}>
21+
<Stack direction="row" spacing={1} flexWrap="wrap">
2222
<TextField
2323
select
2424
sx={{ minWidth: 150 }}

0 commit comments

Comments
 (0)