mirror of
https://github.com/danbulant/dribbblish-dynamic-theme
synced 2026-07-09 21:21:34 +00:00
fix slider tooltip being too low
This commit is contained in:
parent
6de1a4e9e0
commit
4aa0998924
1 changed files with 21 additions and 19 deletions
|
|
@ -42,12 +42,13 @@ textarea {
|
|||
}
|
||||
}
|
||||
|
||||
&[tooltip] {
|
||||
&::after {
|
||||
z-index: 9999;
|
||||
content: attr(tooltip);
|
||||
position: absolute;
|
||||
min-width: 50px;
|
||||
top: -10px;
|
||||
top: -22px;
|
||||
left: 50%;
|
||||
transform: translateX(calc(-50%));
|
||||
padding: 0 5px;
|
||||
|
|
@ -63,6 +64,7 @@ textarea {
|
|||
&:active::after {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
&:focus {
|
||||
outline: none;
|
||||
|
|
|
|||
Loading…
Reference in a new issue