From ff0da32f09fbe0a8cfd861b2621dbed3059fb0c7 Mon Sep 17 00:00:00 2001 From: Amir Tadrisi Date: Tue, 21 Nov 2023 15:46:03 -0500 Subject: [PATCH] chore: Support RTL --- lms/static/sass/shared/_header.scss | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/lms/static/sass/shared/_header.scss b/lms/static/sass/shared/_header.scss index e50ade0..ec617d9 100644 --- a/lms/static/sass/shared/_header.scss +++ b/lms/static/sass/shared/_header.scss @@ -364,4 +364,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 + } +} +