[basicUI] Fix color selector placement (#1139)

Fix #934

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
pull/1142/head
lolodomo 2021-08-11 12:40:41 +02:00 committed by GitHub
parent 7aab7798f7
commit 5541f3ea65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -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;