From 7e47b7ecc972a29997a0e38fd1fc126c51f2f703 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20Poupard?= Date: Thu, 10 Dec 2020 15:38:42 +0100 Subject: [PATCH] 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). --- scss/_dropdown.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scss/_dropdown.scss b/scss/_dropdown.scss index f9ad9778b3..594c063990 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 } }