0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-18 10:52:19 +01: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
}
}