Skip to content

Commit

Permalink
chore: support RTL for header dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
amirtds committed Nov 20, 2023
1 parent a36ee01 commit b53ea5b
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion lms/static/sass/_customer-specific.scss
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,13 @@
}
}
}
}
}

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

0 comments on commit b53ea5b

Please sign in to comment.