Commit b352462d authored by Annabel Dunstone Gray's avatar Annabel Dunstone Gray

Fix dropdown header alignment; empty navbar positioning

parent 9b27f62d
...@@ -749,7 +749,7 @@ ...@@ -749,7 +749,7 @@
margin-bottom: $dropdown-vertical-offset; margin-bottom: $dropdown-vertical-offset;
} }
li { li:not(.dropdown-bold-header) {
display: block; display: block;
padding: 0 1px; padding: 0 1px;
......
...@@ -5,22 +5,6 @@ ...@@ -5,22 +5,6 @@
.navbar-gitlab { .navbar-gitlab {
@include new-style-dropdown; @include new-style-dropdown;
&.navbar-empty {
height: $header-height;
background: $white-light;
border-bottom: 1px solid $white-normal;
.center-logo {
margin: 8px 0;
text-align: center;
.tanuki-logo,
img {
height: 36px;
}
}
}
&.navbar-gitlab { &.navbar-gitlab {
padding: 0 16px; padding: 0 16px;
z-index: 1000; z-index: 1000;
...@@ -550,7 +534,7 @@ ...@@ -550,7 +534,7 @@
color: $gl-text-color; color: $gl-text-color;
left: auto; left: auto;
.current-user { li.current-user {
padding: 5px 18px; padding: 5px 18px;
.user-name { .user-name {
...@@ -570,3 +554,19 @@ ...@@ -570,3 +554,19 @@
.with-performance-bar .navbar-gitlab { .with-performance-bar .navbar-gitlab {
top: $performance-bar-height; top: $performance-bar-height;
} }
.navbar-empty {
height: $header-height;
background: $white-light;
border-bottom: 1px solid $white-normal;
.center-logo {
margin: 8px 0;
text-align: center;
.tanuki-logo,
img {
height: 36px;
}
}
}
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