diff --git a/scss/_tooltip.scss b/scss/_tooltip.scss index 7cad1500090d..4117f8999e5a 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 edf220987062..7b3ced078b75 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;