Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HexColorPicker does not scale correct at short height #212

Open
hdale94 opened this issue Dec 20, 2023 · 0 comments
Open

HexColorPicker does not scale correct at short height #212

hdale94 opened this issue Dec 20, 2023 · 0 comments

Comments

@hdale94
Copy link

hdale94 commented Dec 20, 2023

Hello.

Having some issues with the HexColorPicker at small sizes.

I'm setting the size like this using a CSS class:

.custom-color-picker.react-colorful {
    margin-top: 5px;
    position: absolute;
    z-index: 1;
    right: 5px;
    width: 46px !important;
    height: 30px !important;
}

With this short height, the color picker will not distribute the range of colors in a reasonable way, and instead display mostly black color.

Skjermbilde 2023-12-20 kl  14 35 34

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant