Skip to content

Commit

Permalink
Merge pull request #235 from appsembler/amir/rtl-support
Browse files Browse the repository at this point in the history
chore: Support RTL
  • Loading branch information
amirtds committed Nov 27, 2023
2 parents 2ce959c + ff0da32 commit 0003bc2
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 0003bc2

Please sign in to comment.