diff options
| author | GeoSot <[email protected]> | 2022-04-13 04:16:18 +0300 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-04-12 18:16:18 -0700 |
| commit | 8aaeb3cb6b5fe4f3eb6ed5872e172404aa8397a6 (patch) | |
| tree | 3333ba06f75ac6b8fc47157a7a20eb109646ffb7 /scss/_tooltip.scss | |
| parent | 33992b7d5b2176d90aee9a1933219b498a9888d4 (diff) | |
| download | bootstrap-8aaeb3cb6b5fe4f3eb6ed5872e172404aa8397a6.tar.xz bootstrap-8aaeb3cb6b5fe4f3eb6ed5872e172404aa8397a6.zip | |
Remove tooltip and popover styling as it is handled by Popper (#34627)
* Remove not needed css form tooltip & popover as it is made by popper
Remove tooltip margin variable, as popper needs margin to be zero
* Remove popover left/top initializers as they are handled by popper
* nullify `margin` variable and add deprecation message
* Document change in migration guide
* Update _variables.scss
Co-authored-by: Mark Otto <[email protected]>
Co-authored-by: XhmikosR <[email protected]>
Diffstat (limited to 'scss/_tooltip.scss')
| -rw-r--r-- | scss/_tooltip.scss | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scss/_tooltip.scss b/scss/_tooltip.scss index a3343596b..8f4718db8 100644 --- a/scss/_tooltip.scss +++ b/scss/_tooltip.scss @@ -17,10 +17,10 @@ --#{$prefix}tooltip-arrow-height: #{$tooltip-arrow-height}; // scss-docs-end tooltip-css-vars - position: absolute; z-index: var(--#{$prefix}tooltip-zindex); display: block; margin: var(--#{$prefix}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(); @@ -32,7 +32,6 @@ &.show { opacity: var(--#{$prefix}tooltip-opacity); } .tooltip-arrow { - position: absolute; display: block; width: var(--#{$prefix}tooltip-arrow-width); height: var(--#{$prefix}tooltip-arrow-height); |
