-
Notifications
You must be signed in to change notification settings - Fork 90
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
fix(NcColorPicker): Make the color circle size depend on clickable area #5816
fix(NcColorPicker): Make the color circle size depend on clickable area #5816
Conversation
5551f38
to
f4b042f
Compare
/backport to next |
This is probably just a leftover of a24ea0a. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks much better
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some future improvments required (there are still magic values like "10px"). but much better!
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
f4b042f
to
caed40b
Compare
☑️ Resolves
The size of the circles is hard coded but the grid size depends on the clickable area. So I made the size dependent as well. I've tested this with a clickable area of 34. It works with the old 44 as well:
🖼️ Screenshots
🏁 Checklist
next
requested with a Vue 3 upgrade