fix #1231: tooltip arrow positioning

This commit is contained in:
antelle 2019-08-18 14:44:51 +02:00
parent 7e2d531533
commit 7c5b76fda3
2 changed files with 7 additions and 4 deletions

View File

@ -41,7 +41,7 @@
$arrow-offset-large: 11px;
&.tip--bottom:after {
@include position(absolute, -nth($arrow-size-small, 2) null null 50%);
@include position(absolute, -(nth($arrow-size-small, 2)) null null 50%);
@include transform(translate(-50%, 0));
@include th {
@include triangle($arrow-size-small, th(background-color), up);
@ -69,7 +69,7 @@
}
}
&.tip--right:after {
@include position(absolute, 50% null null (-nth($arrow-size-small, 2)));
@include position(absolute, 50% null null (-(nth($arrow-size-small, 2))));
@include transform(translate(0, -50%));
@include th {
@include triangle($arrow-size-small, th(background-color), left);
@ -77,7 +77,7 @@
}
&.tip--bottom:before {
@include position(absolute, -nth($arrow-size-large, 2) null null 50%);
@include position(absolute, (-(nth($arrow-size-large, 2))) null null 50%);
@include transform(translate(-50%, 0));
@include th {
@include triangle($arrow-size-large, th(light-border-color), up);
@ -105,7 +105,7 @@
}
}
&.tip--right:before {
@include position(absolute, 50% null null (-nth($arrow-size-large, 2)));
@include position(absolute, 50% null null (-(nth($arrow-size-large, 2))));
@include transform(translate(0, -50%));
@include th {
@include triangle($arrow-size-large, th(light-border-color), left);

View File

@ -1,5 +1,8 @@
Release notes
-------------
##### v1.9.1 (TBD)
`-` fix #1231: tooltip arrow positioning
##### v1.9.0 (2019-08-18)
`-` fix #1221: added '30 min' lock option
`-` fixed generator style issues in Firefox