]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Reset Popper position in RTL (#32415)
authorGaël Poupard <ffoodd@users.noreply.github.com>
Thu, 10 Dec 2020 14:38:42 +0000 (15:38 +0100)
committerGitHub <noreply@github.com>
Thu, 10 Dec 2020 14:38:42 +0000 (16:38 +0200)
The RTL cheatsheet's dropdowns aren't positioned correctly because of RTLCSS transforming `right: auto` to `left:auto` (which conflicts with Popper positioning).

scss/_dropdown.scss

index f9ad9778b3ab9d9bda69e19b876a630f5fbf11ae..594c0639905405b55e2851420ebc84a098cbcc74 100644 (file)
@@ -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
   }
 }