[site/components][s]: tooltip fade-out element fix
This commit is contained in:
parent
87f7098319
commit
03c73b4c47
|
|
@ -31,11 +31,10 @@ body {
|
||||||
/* tooltip fade-out clip */
|
/* tooltip fade-out clip */
|
||||||
.tooltip-body::after {
|
.tooltip-body::after {
|
||||||
content: "";
|
content: "";
|
||||||
text-align: right;
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 0;
|
|
||||||
right: 0;
|
right: 0;
|
||||||
width: 30%;
|
top: 2.4rem; /* multiple of $line-height used on the tooltip body */
|
||||||
height: 1.2em;
|
height: 1.2rem; /* ($top + $height)/$line-height is the number of lines we want to clip tooltip text at*/
|
||||||
|
width: 10rem;
|
||||||
background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1) 100%);
|
background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1) 100%);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue