diff options
Diffstat (limited to 'scss/_tooltip.scss')
| -rw-r--r-- | scss/_tooltip.scss | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/scss/_tooltip.scss b/scss/_tooltip.scss index a98ff4db5..2993bf7de 100644 --- a/scss/_tooltip.scss +++ b/scss/_tooltip.scss @@ -36,7 +36,7 @@ bottom: 0; &::before { - top: 0; + top: -1px; border-width: $tooltip-arrow-height ($tooltip-arrow-width / 2) 0; border-top-color: $tooltip-arrow-color; } @@ -47,14 +47,14 @@ padding: 0 $tooltip-arrow-height; .tooltip-arrow { - left: 0 #{"/* rtl:ignore */"}; + left: 0; width: $tooltip-arrow-height; height: $tooltip-arrow-width; &::before { - right: 0 #{"/* rtl:ignore */"}; - border-width: ($tooltip-arrow-width / 2) $tooltip-arrow-height ($tooltip-arrow-width / 2) 0 #{"/* rtl:ignore */"}; - border-right-color: $tooltip-arrow-color #{"/* rtl:ignore */"}; + right: -1px; + border-width: ($tooltip-arrow-width / 2) $tooltip-arrow-height ($tooltip-arrow-width / 2) 0; + border-right-color: $tooltip-arrow-color; } } } @@ -66,7 +66,7 @@ top: 0; &::before { - bottom: 0; + bottom: -1px; border-width: 0 ($tooltip-arrow-width / 2) $tooltip-arrow-height; border-bottom-color: $tooltip-arrow-color; } @@ -77,29 +77,29 @@ padding: 0 $tooltip-arrow-height; .tooltip-arrow { - right: 0 #{"/* rtl:ignore */"}; + right: 0; width: $tooltip-arrow-height; height: $tooltip-arrow-width; &::before { - left: 0 #{"/* rtl:ignore */"}; - border-width: ($tooltip-arrow-width / 2) 0 ($tooltip-arrow-width / 2) $tooltip-arrow-height #{"/* rtl:ignore */"}; - border-left-color: $tooltip-arrow-color #{"/* rtl:ignore */"}; + left: -1px; + border-width: ($tooltip-arrow-width / 2) 0 ($tooltip-arrow-width / 2) $tooltip-arrow-height; + border-left-color: $tooltip-arrow-color; } } } .bs-tooltip-auto { - &[x-placement^="top"] { + &[data-popper-placement^="top"] { @extend .bs-tooltip-top; } - &[x-placement^="right"] { + &[data-popper-placement^="right"] { @extend .bs-tooltip-end; } - &[x-placement^="bottom"] { + &[data-popper-placement^="bottom"] { @extend .bs-tooltip-bottom; } - &[x-placement^="left"] { + &[data-popper-placement^="left"] { @extend .bs-tooltip-start; } } |
