Skip to content

Commit 4bb9b33

Browse files
Nashynnisarg-chudasama
andauthored
[docs][material-ui] Fix slider in color customization playground twitches when sliding (#43671)
Co-authored-by: nisarg-chudasama <[email protected]>
1 parent 012c2e8 commit 4bb9b33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ function ColorTool() {
237237
onChange={handleChangeShade(intent)}
238238
aria-labelledby={`${intent}ShadeSliderLabel`}
239239
/>
240-
<Typography>{shades[intentShade]}</Typography>
240+
<Typography minWidth={40}>{shades[intentShade]}</Typography>
241241
</Box>
242242
<Box sx={{ width: 192 }}>
243243
{hues.map((hue) => {

0 commit comments

Comments
 (0)