1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-12 08:34:08 +02:00

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).
This commit is contained in:
Gaël Poupard
2020-12-10 15:38:42 +01:00
committed by GitHub
parent c34385eb01
commit 7e47b7ecc9

View 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
}
}