Skip to content

Commit

Permalink
chore: Support RTL
Browse files Browse the repository at this point in the history
  • Loading branch information
amirtds committed Nov 24, 2023
1 parent d573783 commit ff0da32
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion lms/static/sass/shared/_header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -364,4 +364,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 ff0da32

Please sign in to comment.