aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaĆ«l Poupard <[email protected]>2020-12-10 15:38:42 +0100
committerGitHub <[email protected]>2020-12-10 16:38:42 +0200
commit7e47b7ecc972a29997a0e38fd1fc126c51f2f703 (patch)
treec00de4a57158a1aaf91d9c2e81ba7afd71aed886
parentc34385eb01cb83297323ac22b4192a8f6fdcd1e5 (diff)
downloadbootstrap-7e47b7ecc972a29997a0e38fd1fc126c51f2f703.tar.xz
bootstrap-7e47b7ecc972a29997a0e38fd1fc126c51f2f703.zip
Reset Popper position in RTL (#32415)
The RTL cheatsheet's dropdowns aren't positioned correctly because of RTLCSS transforming `right: auto` to `left:auto` (which conflicts with Popper positioning).
-rw-r--r--scss/_dropdown.scss2
1 files changed, 1 insertions, 1 deletions
diff --git a/scss/_dropdown.scss b/scss/_dropdown.scss
index f9ad9778b..594c06399 100644
--- a/scss/_dropdown.scss
+++ b/scss/_dropdown.scss
@@ -35,7 +35,7 @@
// Reset positioning when positioned with Popper
&[style] {
- right: auto !important; // stylelint-disable-line declaration-no-important
+ right: auto#{"/* rtl:ignore */"} !important; // stylelint-disable-line declaration-no-important
}
}