fix slider tooltip being too low

This commit is contained in:
Send_Nukez 2021-11-11 22:53:16 +01:00
parent 6de1a4e9e0
commit 4aa0998924

View file

@ -42,12 +42,13 @@ textarea {
} }
} }
&[tooltip] {
&::after { &::after {
z-index: 9999; z-index: 9999;
content: attr(tooltip); content: attr(tooltip);
position: absolute; position: absolute;
min-width: 50px; min-width: 50px;
top: -10px; top: -22px;
left: 50%; left: 50%;
transform: translateX(calc(-50%)); transform: translateX(calc(-50%));
padding: 0 5px; padding: 0 5px;
@ -63,6 +64,7 @@ textarea {
&:active::after { &:active::after {
opacity: 1; opacity: 1;
} }
}
&:focus { &:focus {
outline: none; outline: none;