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 17, 2023
1 parent a36ee01 commit 8cf17c0
Showing 1 changed file with 29 additions and 1 deletion.
30 changes: 29 additions & 1 deletion lms/static/sass/_customer-specific.scss
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,32 @@
}
}
}
}
}

// RTL Support

.window-wrap {
.global-header {
.main-header {
.nav-links {
.nav-item.nav-item-dropdown {
.dropdown-user-menu {
position: absolute;
top: 100%;
right: 0;
width: auto;
min-width: 11.25rem;
max-width: 80%;

// Override for RTL languages
body.rtl & {
right: auto;
left: 0;
}
}
}
}
}
}
}

0 comments on commit 8cf17c0

Please sign in to comment.