diff options
author | GeoSot <geo.sotis@gmail.com> | 2021-07-30 03:12:07 +0300 |
---|---|---|
committer | Mark Otto <markd.otto@gmail.com> | 2022-02-25 19:55:41 +0300 |
commit | 53fcb32e908cf80bc7f58d3576082c2be781af75 (patch) | |
tree | 0b2a0e72d6fc27be6a1737a942aab1687ff34614 | |
parent | 28d9aaf6708b4b84e7e70a62b78d8b22a51d990d (diff) |
Remove not needed css form tooltip & popover as it is made by popper
Remove tooltip margin variable, as popper needs margin to be zero
-rw-r--r-- | scss/_popover.scss | 2 | ||||
-rw-r--r-- | scss/_tooltip.scss | 3 | ||||
-rw-r--r-- | scss/_variables.scss | 1 |
3 files changed, 0 insertions, 6 deletions
diff --git a/scss/_popover.scss b/scss/_popover.scss index 3b8208e160..646af52f97 100644 --- a/scss/_popover.scss +++ b/scss/_popover.scss @@ -1,5 +1,4 @@ .popover { - position: absolute; top: 0; left: 0 #{"/* rtl:ignore */"}; z-index: $zindex-popover; @@ -18,7 +17,6 @@ @include box-shadow($popover-box-shadow); .popover-arrow { - position: absolute; display: block; width: $popover-arrow-width; height: $popover-arrow-height; diff --git a/scss/_tooltip.scss b/scss/_tooltip.scss index 75ff078383..7cad150009 100644 --- a/scss/_tooltip.scss +++ b/scss/_tooltip.scss @@ -1,9 +1,7 @@ // Base class .tooltip { - position: absolute; z-index: $zindex-tooltip; display: block; - margin: $tooltip-margin; // 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(); @@ -15,7 +13,6 @@ &.show { opacity: $tooltip-opacity; } .tooltip-arrow { - position: absolute; display: block; width: $tooltip-arrow-width; height: $tooltip-arrow-height; diff --git a/scss/_variables.scss b/scss/_variables.scss index 5dd78ae2a8..852af9ac85 100644 --- a/scss/_variables.scss +++ b/scss/_variables.scss @@ -1285,7 +1285,6 @@ $tooltip-border-radius: $border-radius !default; $tooltip-opacity: .9 !default; $tooltip-padding-y: $spacer * .25 !default; $tooltip-padding-x: $spacer * .5 !default; -$tooltip-margin: 0 !default; $tooltip-arrow-width: .8rem !default; $tooltip-arrow-height: .4rem !default; |