Fix multiline hint text cropping (#2079)
Co-authored-by: Lipis <lipiridis@gmail.com>
This commit is contained in:
parent
86d9bee3f4
commit
0e0a695e81
@ -8,17 +8,15 @@
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
top: 54px;
|
top: 54px;
|
||||||
transform: translateX(calc(-50% - 16px)); /* 16px is half of lock icon */
|
transform: translateX(calc(-50% - 16px)); /* 16px is half of lock icon */
|
||||||
|
padding: 0.2rem 0.4rem;
|
||||||
white-space: pre;
|
white-space: pre;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
background-color: var(--overlay-background-color);
|
||||||
|
border-radius: 4px;
|
||||||
|
|
||||||
@media #{$media-query} {
|
@media #{$media-query} {
|
||||||
position: static;
|
position: static;
|
||||||
transform: none;
|
transform: none;
|
||||||
margin-top: 0.5rem;
|
margin-top: 0.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
> span {
|
|
||||||
background-color: var(--overlay-background-color);
|
|
||||||
padding: 0.2rem 0.4rem;
|
|
||||||
border-radius: 3px;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user