Skip to content

Commit ad25956

Browse files
committed
UX: last menu item renders off screen on desktop
1 parent f3e6f94 commit ad25956

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

common/common.scss

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,20 @@ $icon-opacity: 0.7;
5454
right: 0;
5555
}
5656
}
57+
58+
@if $Invert_position == "true" {
59+
&:last-child {
60+
.d-header-dropdown {
61+
left: unset;
62+
right: 0;
63+
64+
.rtl & {
65+
right: unset;
66+
left: 0;
67+
}
68+
}
69+
}
70+
}
5771
}
5872

5973
.d-icon-caret-right {

0 commit comments

Comments
 (0)