Commit 8612b088 authored by Tim Zallmann's avatar Tim Zallmann

Merge branch '37862-breadcrumbs-mobile' into 'master'

Fix mobile sidebar button to match height of desktop breadcrumbs

Closes #37862

See merge request gitlab-org/gitlab-ce!14282
parents 70dc7e9a 7249f22c
...@@ -375,8 +375,6 @@ header.navbar-gitlab-new { ...@@ -375,8 +375,6 @@ header.navbar-gitlab-new {
display: flex; display: flex;
width: 100%; width: 100%;
position: relative; position: relative;
padding-top: $gl-padding;
padding-bottom: $gl-padding;
align-items: center; align-items: center;
border-bottom: 1px solid $border-color; border-bottom: 1px solid $border-color;
} }
...@@ -388,6 +386,11 @@ header.navbar-gitlab-new { ...@@ -388,6 +386,11 @@ header.navbar-gitlab-new {
align-self: center; align-self: center;
color: $gl-text-color-secondary; color: $gl-text-color-secondary;
@media (max-width: $screen-xs-max) {
padding-left: 17px;
border-left: 1px solid $gl-text-color-quaternary;
}
.avatar-tile { .avatar-tile {
margin-right: 4px; margin-right: 4px;
border: 1px solid $border-color; border: 1px solid $border-color;
......
...@@ -445,9 +445,8 @@ $new-sidebar-collapsed-width: 50px; ...@@ -445,9 +445,8 @@ $new-sidebar-collapsed-width: 50px;
background-color: transparent; background-color: transparent;
border: 0; border: 0;
padding: 6px 16px; padding: 6px 16px;
margin: 0 16px 0 -15px; margin: 0 0 0 -15px;
height: 46px; height: 46px;
border-right: 1px solid $gl-text-color-quaternary;
i { i {
font-size: 20px; font-size: 20px;
...@@ -455,7 +454,12 @@ $new-sidebar-collapsed-width: 50px; ...@@ -455,7 +454,12 @@ $new-sidebar-collapsed-width: 50px;
} }
@media (max-width: $screen-xs-max) { @media (max-width: $screen-xs-max) {
display: inline-block; display: flex;
align-items: center;
i {
font-size: 18px;
}
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment