Fix dropdown header alignment; empty navbar positioning
This commit is contained in:
parent
9b27f62d86
commit
b352462d01
2 changed files with 18 additions and 18 deletions
|
@ -749,7 +749,7 @@
|
|||
margin-bottom: $dropdown-vertical-offset;
|
||||
}
|
||||
|
||||
li {
|
||||
li:not(.dropdown-bold-header) {
|
||||
display: block;
|
||||
padding: 0 1px;
|
||||
|
||||
|
|
|
@ -5,22 +5,6 @@
|
|||
.navbar-gitlab {
|
||||
@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 {
|
||||
padding: 0 16px;
|
||||
z-index: 1000;
|
||||
|
@ -550,7 +534,7 @@
|
|||
color: $gl-text-color;
|
||||
left: auto;
|
||||
|
||||
.current-user {
|
||||
li.current-user {
|
||||
padding: 5px 18px;
|
||||
|
||||
.user-name {
|
||||
|
@ -570,3 +554,19 @@
|
|||
.with-performance-bar .navbar-gitlab {
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue