Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/scss
diff options
context:
space:
mode:
authorGaƫl Poupard <gael+github@ffoodd.fr>2022-02-28 19:04:29 +0300
committerMark Otto <otto@github.com>2022-03-01 06:27:47 +0300
commita9d1ab2d3fc26d594b3bf7346d1c8ba934a90002 (patch)
tree9ab8c0dca5592ea953164421bb53c01e7632e57f /scss
parentabe9d310baa8084273a909cdeb10119556ecac07 (diff)
fix(tooltips|popovers): RTL arrows
Diffstat (limited to 'scss')
-rw-r--r--scss/_popover.scss6
-rw-r--r--scss/_tooltip.scss6
2 files changed, 12 insertions, 0 deletions
diff --git a/scss/_popover.scss b/scss/_popover.scss
index 3b8208e160..0d487a505b 100644
--- a/scss/_popover.scss
+++ b/scss/_popover.scss
@@ -52,6 +52,7 @@
}
}
+/* rtl:begin:ignore */
.bs-popover-end {
> .popover-arrow {
left: subtract(-$popover-arrow-height, $popover-border-width);
@@ -72,6 +73,8 @@
}
}
+/* rtl:end:ignore */
+
.bs-popover-bottom {
> .popover-arrow {
top: subtract(-$popover-arrow-height, $popover-border-width);
@@ -102,6 +105,7 @@
}
}
+/* rtl:begin:ignore */
.bs-popover-start {
> .popover-arrow {
right: subtract(-$popover-arrow-height, $popover-border-width);
@@ -122,6 +126,8 @@
}
}
+/* rtl:end:ignore */
+
.bs-popover-auto {
&[data-popper-placement^="top"] {
@extend .bs-popover-top;
diff --git a/scss/_tooltip.scss b/scss/_tooltip.scss
index 75ff078383..2ee5847eac 100644
--- a/scss/_tooltip.scss
+++ b/scss/_tooltip.scss
@@ -43,6 +43,7 @@
}
}
+/* rtl:begin:ignore */
.bs-tooltip-end {
padding: 0 $tooltip-arrow-height;
@@ -59,6 +60,8 @@
}
}
+/* rtl:end:ignore */
+
.bs-tooltip-bottom {
padding: $tooltip-arrow-height 0;
@@ -73,6 +76,7 @@
}
}
+/* rtl:begin:ignore */
.bs-tooltip-start {
padding: 0 $tooltip-arrow-height;
@@ -89,6 +93,8 @@
}
}
+/* rtl:end:ignore */
+
.bs-tooltip-auto {
&[data-popper-placement^="top"] {
@extend .bs-tooltip-top;