1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-28 07:39:57 +02:00

Convert px values to rem on tooltip variables (#23468)

* converts px valures to rem on tooltip variables

* keep as px to match popover changes
This commit is contained in:
Andres Galante
2017-11-06 14:29:12 -03:00
committed by Mark Otto
parent b931070bd7
commit 058123440f
2 changed files with 14 additions and 15 deletions

View File

@@ -34,7 +34,7 @@
}
.arrow::before {
margin-left: -($tooltip-arrow-width - 2);
margin-left: -$tooltip-arrow-width;
content: "";
border-width: $tooltip-arrow-width $tooltip-arrow-width 0;
border-top-color: $tooltip-arrow-color;
@@ -47,7 +47,7 @@
}
.arrow::before {
margin-top: -($tooltip-arrow-width - 2);
margin-top: -$tooltip-arrow-width;
content: "";
border-width: $tooltip-arrow-width $tooltip-arrow-width $tooltip-arrow-width 0;
border-right-color: $tooltip-arrow-color;
@@ -60,7 +60,7 @@
}
.arrow::before {
margin-left: -($tooltip-arrow-width - 2);
margin-left: -$tooltip-arrow-width;
content: "";
border-width: 0 $tooltip-arrow-width $tooltip-arrow-width;
border-bottom-color: $tooltip-arrow-color;
@@ -74,7 +74,7 @@
.arrow::before {
right: 0;
margin-top: -($tooltip-arrow-width - 2);
margin-top: -($tooltip-arrow-width);
content: "";
border-width: $tooltip-arrow-width 0 $tooltip-arrow-width $tooltip-arrow-width;
border-left-color: $tooltip-arrow-color;