This repository has been archived by the owner on Apr 8, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 365
Size of colourpicker #84
Labels
Comments
That's not a trivial thing as the colorpicker gradient images have fixed dimensions and the coordinates are calculated based on these dimensions, but in the future it will be interesting to use CSS3 gradients instead of bg. images and add the possibility to resize de picker. |
+1 |
you just need to adjust the coordinates (manually) for a quick - non generic - solution. e.g. double the size: css .colorpicker-saturation {
width: 200px;
height: 200px;
...
}
.colorpicker-hue,
.colorpicker-alpha {
width: 25px;
height: 200px;
...
} js
live demo here: https://www.pixelmaker.io/ |
Hi @minddust thank you for your support! Now I added a demo in the docs for this, @santon2000 |
Thanks to all! |
This does increase the width and height but unable to select colors in bottom right quarter. And can't drag pointer beyond the top half as well. Any workaround? |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Is there any way to increase the size of the colour picker itself?
I looked at the code and saw a bunch of
The text was updated successfully, but these errors were encountered: