Skip to content

Commit 2ada52a

Browse files
committed
Adjust dropdown positioning when > 480, 480 - 768, < 769
1 parent f55bd6b commit 2ada52a

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

app/styles/_navbar-alt.less

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,13 @@
6363
}
6464
.nav {
6565
.dropdown-menu {
66-
margin-top: -10px;
67-
right: 5px;
66+
margin-top: -5px;
67+
right: 0;
68+
@media(min-width: @screen-xs-min) {
69+
right: 5px;
70+
}
6871
@media(min-width: @screen-sm-min) {
72+
margin-top: -10px;
6973
right: 0;
7074
}
7175
&:after {

dist/styles/main.css

Lines changed: 4 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)