diff options
author | Annabel Dunstone <annabel.dunstone@gmail.com> | 2016-05-13 11:12:49 -0500 |
---|---|---|
committer | Annabel Dunstone <annabel.dunstone@gmail.com> | 2016-05-13 11:12:49 -0500 |
commit | 16b1d3a34f665776bbdfca041326b9c2d569e59b (patch) | |
tree | a879ec89c2313c89b26bce951293d64c381f6684 /app/assets/stylesheets | |
parent | c37006fa4f4a85c031d4916a618be39ac0b0d3ed (diff) | |
download | gitlab-ce-16b1d3a34f665776bbdfca041326b9c2d569e59b.tar.gz |
Fix mobile dropdown bug
Diffstat (limited to 'app/assets/stylesheets')
-rw-r--r-- | app/assets/stylesheets/framework/nav.scss | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/app/assets/stylesheets/framework/nav.scss b/app/assets/stylesheets/framework/nav.scss index f2d7dc625e0..a81fcb1c6b3 100644 --- a/app/assets/stylesheets/framework/nav.scss +++ b/app/assets/stylesheets/framework/nav.scss @@ -209,6 +209,15 @@ float: right; padding: 7px 0 0; + @media (max-width: $screen-xs-min) { + float: none; + padding: 0 9px; + + .dropdown-new { + width: 100%; + } + } + i { color: $layout-link-gray; } @@ -225,6 +234,10 @@ .dropdown { margin-left: 7px; + + @media (max-width: $screen-xs-min) { + margin-left: 0; + } } } @@ -260,4 +273,10 @@ .page-with-layout-nav { margin-top: 50px; + + &.controls-dropdown-visible { + @media (max-width: $screen-xs-min) { + margin-top: 96px; + } + } } |