diff options
author | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-01-31 21:02:57 +0000 |
---|---|---|
committer | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-01-31 21:02:57 +0000 |
commit | 577bb4ebe83a2ec7811b240b8023b7ff6ef3bb85 (patch) | |
tree | 8c1141c31a89ca2731e93ccfc15029632b1e6f45 /app | |
parent | 43c575acf3e9b3b7d749a1e99bc4726e56823c4c (diff) | |
parent | 87346bfe6de362b832e27c75f3e9b1def2ef1f11 (diff) | |
download | gitlab-ce-577bb4ebe83a2ec7811b240b8023b7ff6ef3bb85.tar.gz |
Merge branch '19164-mobile-settings' into 'master'
19164 Add settings dropdown to mobile screens
Closes #19164
See merge request !8896
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/stylesheets/framework/nav.scss | 11 | ||||
-rw-r--r-- | app/views/layouts/nav/_admin.html.haml | 2 |
2 files changed, 8 insertions, 5 deletions
diff --git a/app/assets/stylesheets/framework/nav.scss b/app/assets/stylesheets/framework/nav.scss index 401c2d0f6ee..fd081c2d7e1 100644 --- a/app/assets/stylesheets/framework/nav.scss +++ b/app/assets/stylesheets/framework/nav.scss @@ -294,16 +294,18 @@ .container-fluid { position: relative; + + .nav-control { + @media (max-width: $screen-sm-max) { + margin-right: 75px; + } + } } .controls { float: right; padding: 7px 0 0; - @media (max-width: $screen-sm-max) { - display: none; - } - i { color: $layout-link-gray; } @@ -361,6 +363,7 @@ .fade-left { @include fade(right, $gray-light); left: -5px; + text-align: center; .fa { left: -7px; diff --git a/app/views/layouts/nav/_admin.html.haml b/app/views/layouts/nav/_admin.html.haml index ac04f57e217..19a947af4ca 100644 --- a/app/views/layouts/nav/_admin.html.haml +++ b/app/views/layouts/nav/_admin.html.haml @@ -1,5 +1,5 @@ += render 'layouts/nav/admin_settings' .scrolling-tabs-container{ class: nav_control_class } - = render 'layouts/nav/admin_settings' .fade-left = icon('angle-left') .fade-right |