diff options
| author | GeoSot <[email protected]> | 2021-08-03 10:56:36 +0300 |
|---|---|---|
| committer | GeoSot <[email protected]> | 2021-08-24 00:46:32 +0300 |
| commit | a782de9b87220192a124590e67594181da1a56ba (patch) | |
| tree | b81f3f98ff159e4ba64d33b731dbc4c29993a996 /scss | |
| parent | 6b308a3820b32667c268545c33225719e19475f7 (diff) | |
| download | bootstrap-gs-tooltip-css-tweaks.tar.xz bootstrap-gs-tooltip-css-tweaks.zip | |
nullify `margin` variable and add deprecation messagegs-tooltip-css-tweaks
Diffstat (limited to 'scss')
| -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 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; |
