diff options
author | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-09-18 09:21:04 -0700 |
---|---|---|
committer | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-09-18 09:21:04 -0700 |
commit | 7249f22c8a3b4235a915ca6250579e0fb2d3a5f4 (patch) | |
tree | a4d61cf9adaad2a0699f6fbeceeffc85803e36fb | |
parent | 6b9a07999624a0a138c6c93ea583306c95b70f45 (diff) | |
download | gitlab-ce-37862-breadcrumbs-mobile.tar.gz |
Vertically center hamburger button37862-breadcrumbs-mobile
-rw-r--r-- | app/assets/stylesheets/new_nav.scss | 3 | ||||
-rw-r--r-- | app/assets/stylesheets/new_sidebar.scss | 7 |
2 files changed, 3 insertions, 7 deletions
diff --git a/app/assets/stylesheets/new_nav.scss b/app/assets/stylesheets/new_nav.scss index 5dc0242cdea..8c5bafac637 100644 --- a/app/assets/stylesheets/new_nav.scss +++ b/app/assets/stylesheets/new_nav.scss @@ -375,8 +375,6 @@ header.navbar-gitlab-new { display: flex; width: 100%; position: relative; - padding-top: $gl-padding; - padding-bottom: $gl-padding; align-items: center; border-bottom: 1px solid $border-color; } @@ -390,7 +388,6 @@ header.navbar-gitlab-new { @media (max-width: $screen-xs-max) { padding-left: 17px; - margin-left: 33px; border-left: 1px solid $gl-text-color-quaternary; } diff --git a/app/assets/stylesheets/new_sidebar.scss b/app/assets/stylesheets/new_sidebar.scss index d67a28731ca..60fe863847c 100644 --- a/app/assets/stylesheets/new_sidebar.scss +++ b/app/assets/stylesheets/new_sidebar.scss @@ -440,7 +440,7 @@ $new-sidebar-collapsed-width: 50px; background-color: transparent; border: 0; padding: 6px 16px; - margin: 0 16px 0 -15px; + margin: 0 0 0 -15px; height: 46px; i { @@ -449,9 +449,8 @@ $new-sidebar-collapsed-width: 50px; } @media (max-width: $screen-xs-max) { - display: inline-block; - position: absolute; - top: 2px; + display: flex; + align-items: center; i { font-size: 18px; |