casesandberg / casesandberg/react-color
Allow us to set width for the color picker
- Dominant language
- JavaScript
- Stars
- 12.3k
- Forks
- 920
- PR merge metrics
- No merged PRs in 30d
Description
Look at this form:

I know I can create a parent component and only show the selected color and when clicked open the color picker. I also know that I can create a simple dialog where people would choose the color.
But I prefer to show the color picker inline due to some constraints related to this specific app.
If I could add `className="w-full"` then everything would be OK.
Allow us to specify the width for this component to be able to align it nicely when we use it inline.
Contributor guide
Research direction
The issue does not identify a component file, entry point, or test. Start by locating the inline color-picker component and reviewing how its current width and styles are applied; done means consumers can specify a width, including a full-width class, and the inline picker aligns correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100