Skip to content
Snippets Groups Projects
Commit 1e8aaad6 authored by KDSBrowne's avatar KDSBrowne
Browse files

improve horizontal menu positions for RTL

parent 28132b5b
No related branches found
No related tags found
No related merge requests found
......@@ -11,6 +11,7 @@
--dropdown-caret-height: 8px;
--rtl-caret-offset: -0.4375rem;
--rtl-content-offset: 11.3rem;
}
.dropdown {
......@@ -32,6 +33,10 @@
border: 0;
padding: calc(var(--line-height-computed) / 2);
[dir="rtl"] & {
right: var(--rtl-content-offset);
}
&:after,
&:before {
content: '';
......
......@@ -23,6 +23,11 @@
left: auto;
width: var(--user-manage-menu-width);
[dir="rtl"] & {
top: var(--user-manage-menu-top);
right: -1rem;
}
@include mq($small-only) {
width: 100vw;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment