1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

fix(tooltips|popovers): RTL arrows

This commit is contained in:
Gaël Poupard 2022-02-28 17:04:29 +01:00 committed by Mark Otto
parent abe9d310ba
commit a9d1ab2d3f
2 changed files with 12 additions and 0 deletions

View file

@ -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;

View file

@ -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;