aboutsummaryrefslogtreecommitdiff
path: root/scss
diff options
context:
space:
mode:
Diffstat (limited to 'scss')
-rw-r--r--scss/_tooltip.scss14
1 files changed, 14 insertions, 0 deletions
diff --git a/scss/_tooltip.scss b/scss/_tooltip.scss
index c62ce9779..fe97fbbbd 100644
--- a/scss/_tooltip.scss
+++ b/scss/_tooltip.scss
@@ -74,6 +74,20 @@
border-left-color: $tooltip-arrow-color;
}
}
+ &.bs-tooltip-auto {
+ &[x-placement^="top"] {
+ @extend .bs-tooltip-top;
+ }
+ &[x-placement^="right"] {
+ @extend .bs-tooltip-right;
+ }
+ &[x-placement^="bottom"] {
+ @extend .bs-tooltip-bottom;
+ }
+ &[x-placement^="left"] {
+ @extend .bs-tooltip-left;
+ }
+ }
.arrow::before {
position: absolute;