diff --git a/docs/data/material/customization/color/ColorTool.js b/docs/data/material/customization/color/ColorTool.js index ca540d50670659..e14d461e81b6ed 100644 --- a/docs/data/material/customization/color/ColorTool.js +++ b/docs/data/material/customization/color/ColorTool.js @@ -210,6 +210,9 @@ function ColorTool() { ); }; + const COLOR_WIDTH = 156; + const SLIDER_WIDTH_CALC = 'calc(100% - 80px)'; + const colorPicker = (intent) => { const intentInput = state[`${intent}Input`]; const intentShade = state[`${intent}Shade`]; @@ -229,7 +232,7 @@ function ColorTool() { Shade: - {shades[intentShade]} +
+ {shades[intentShade]} +
{hues.map((hue) => {