diff options
author | GeoSot <geo.sotis@gmail.com> | 2021-08-03 10:56:36 +0300 |
---|---|---|
committer | Mark Otto <markd.otto@gmail.com> | 2022-02-25 19:55:41 +0300 |
commit | 4760a5f572188a30b9b519f9136f31f62f3d5d27 (patch) | |
tree | 53b56f51f0f6e5491acec867b46b010c0b3f04d2 | |
parent | c70a777ca829891b523b250b7345ec11c35cc6eb (diff) |
nullify `margin` variable and add deprecation message
-rw-r--r-- | scss/_tooltip.scss | 2 | ||||
-rw-r--r-- | scss/_variables.scss | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/scss/_tooltip.scss b/scss/_tooltip.scss index 7cad150009..4117f8999e 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 852af9ac85..c2b25d2cae 100644 --- a/scss/_variables.scss +++ b/scss/_variables.scss @@ -1285,6 +1285,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; |