We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
RGB Color selector dot is not exactly placed, reason is the css styling
Change color picker handle css class ".colorpicker__handle" like following:
margin: -12px 0 -12px;
transform: translate(-50%, -50%);
you instantly see a correct placement exactly in the middle for rgb 100% or on the outer cicle line for a single color 100%
support for older browsers which is not realy relevant today, but possible:
-moz-transform: translate(-50%, -50%); -ms-transform: translate(-50%, -50%); -o-transform: translate(-50%, -50%); -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%);
The text was updated successfully, but these errors were encountered:
I just tested and you're right the selector is apparently not well placed. I am going to test your proposed changes in Firefox/Chrome/Edge.
Sorry, something went wrong.
[basicUI] Fix color selector placement
3d696a9
Fix openhab#934 Signed-off-by: Laurent Garnier <[email protected]>
[basicUI] Fix color selector placement (#1139)
5541f3e
Fix #934 Signed-off-by: Laurent Garnier <[email protected]>
Successfully merging a pull request may close this issue.
Which UI are you reporting an issue for?
The problem
RGB Color selector dot is not exactly placed, reason is the css styling
Your suggestion
Change color picker handle css class ".colorpicker__handle" like following:
margin: -12px 0 -12px;
" which is also wrong (top and bottom are set here, not top and left)transform: translate(-50%, -50%);
" what makes the px value irrelevant. works on all modern browsers.you instantly see a correct placement exactly in the middle for rgb 100% or on the outer cicle line for a single color 100%
support for older browsers which is not realy relevant today, but possible:
The text was updated successfully, but these errors were encountered: