Skip to content

Commit

Permalink
[basicUI] Fix color selector placement (#1139)
Browse files Browse the repository at this point in the history
Fix #934

Signed-off-by: Laurent Garnier <[email protected]>
  • Loading branch information
lolodomo authored Aug 11, 2021
1 parent 7aab779 commit 5541f3e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions bundles/org.openhab.ui.basic/web-src/_layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -513,17 +513,15 @@ $colorpicker-mobile-size: 270px;
&__handle {
$handle-size: 24px;
position: absolute;
top: 50%;
left: 50%;
box-sizing: border-box;
-moz-box-sizing: border-box;
border: 4px solid white;
width: $handle-size;
height: $handle-size;
margin: -($handle-size / 2) -0 0 -($handle-size / 2);
border-radius: $handle-size / 2;
box-shadow: 0 0 0 2px #aaa inset, 0 0 0 2px #aaa;
pointer-events: none;
transform: translate(-50%, -50%);
}
&__controls {
position: relative;
Expand Down

0 comments on commit 5541f3e

Please sign in to comment.