aboutsummaryrefslogtreecommitdiff
path: root/scss/_tooltip.scss
diff options
context:
space:
mode:
authorAndres Galante <[email protected]>2017-11-06 14:29:12 -0300
committerMark Otto <[email protected]>2017-11-06 09:29:12 -0800
commit058123440fbfcdf06e48b84ed855e100ffda1f3f (patch)
treec4683db5a6e9d3e8c9a92d7b48d75ad0663097b0 /scss/_tooltip.scss
parentb931070bd7becb0c9ab67d323ab90432a0bfafc1 (diff)
downloadbootstrap-058123440fbfcdf06e48b84ed855e100ffda1f3f.tar.xz
bootstrap-058123440fbfcdf06e48b84ed855e100ffda1f3f.zip
Convert px values to rem on tooltip variables (#23468)
* converts px valures to rem on tooltip variables * keep as px to match popover changes
Diffstat (limited to 'scss/_tooltip.scss')
-rw-r--r--scss/_tooltip.scss8
1 files changed, 4 insertions, 4 deletions
diff --git a/scss/_tooltip.scss b/scss/_tooltip.scss
index 7b5db1cf2..b03139c91 100644
--- a/scss/_tooltip.scss
+++ b/scss/_tooltip.scss
@@ -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;