summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/framework
diff options
context:
space:
mode:
authorAnnabel Dunstone <annabel.dunstone@gmail.com>2016-05-13 11:12:49 -0500
committerAnnabel Dunstone <annabel.dunstone@gmail.com>2016-05-13 11:12:49 -0500
commit16b1d3a34f665776bbdfca041326b9c2d569e59b (patch)
treea879ec89c2313c89b26bce951293d64c381f6684 /app/assets/stylesheets/framework
parentc37006fa4f4a85c031d4916a618be39ac0b0d3ed (diff)
downloadgitlab-ce-16b1d3a34f665776bbdfca041326b9c2d569e59b.tar.gz
Fix mobile dropdown bug
Diffstat (limited to 'app/assets/stylesheets/framework')
-rw-r--r--app/assets/stylesheets/framework/nav.scss19
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;
+ }
+ }
}