casesandberg / react-color

:art: Color Pickers from Sketch, Photoshop, Chrome, Github, Twitter & more
http://casesandberg.github.io/react-color/
MIT License
12.05k stars 922 forks source link

How change the size to the parent container? #862

Closed kobe651jp closed 2 years ago

kobe651jp commented 2 years ago

Is there a way to adjust the width to fit the parent container?

As follow image.

image

kobe651jp commented 2 years ago

In Sketch may set property width .But seems not accept like '100%' etc.

width - Number, Width of picker. Default 200