From b53ea5b36d33e85be23ac7ab3359a49d6ad5a3dc Mon Sep 17 00:00:00 2001 From: Amir Tadrisi Date: Thu, 16 Nov 2023 21:04:27 -0500 Subject: [PATCH] chore: support RTL for header dropdown --- lms/static/sass/_customer-specific.scss | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/lms/static/sass/_customer-specific.scss b/lms/static/sass/_customer-specific.scss index 5a1fbff6..7eb9c220 100644 --- a/lms/static/sass/_customer-specific.scss +++ b/lms/static/sass/_customer-specific.scss @@ -72,4 +72,13 @@ } } } -} \ No newline at end of file +} + +// Targeting RTL language (e.g., Arabic) +body.rtl { + .window-wrap .global-header .main-header .nav-links .nav-item.nav-item-dropdown .dropdown-user-menu { + right: auto; // Reset the right property + left: 0; // Set left to 0 for RTL layout + } +} +