aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scss/_tooltip.scss2
-rw-r--r--scss/_variables.scss1
2 files changed, 3 insertions, 0 deletions
diff --git a/scss/_tooltip.scss b/scss/_tooltip.scss
index 7cad15000..4117f8999 100644
--- a/scss/_tooltip.scss
+++ b/scss/_tooltip.scss
@@ -2,6 +2,8 @@
.tooltip {
z-index: $zindex-tooltip;
display: block;
+ margin: $tooltip-margin;
+ @include deprecate("`$tooltip-margin`", "v5", "v5.x", );
// Our parent element can be arbitrary since tooltips are by default inserted as a sibling of their target element.
// So reset our font and text properties to avoid inheriting weird values.
@include reset-text();
diff --git a/scss/_variables.scss b/scss/_variables.scss
index edf220987..7b3ced078 100644
--- a/scss/_variables.scss
+++ b/scss/_variables.scss
@@ -1315,6 +1315,7 @@ $tooltip-border-radius: $border-radius !default;
$tooltip-opacity: .9 !default;
$tooltip-padding-y: $spacer * .25 !default;
$tooltip-padding-x: $spacer * .5 !default;
+$tooltip-margin: null !default;
$tooltip-arrow-width: .8rem !default;
$tooltip-arrow-height: .4rem !default;