1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05: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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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