Merge branch 'fix-empty-navbar' into 'master'

Fix empty header margin

See merge request !769
This commit is contained in:
Dmitriy Zaporozhets 2015-06-05 10:47:13 +00:00
commit 214f38c422
2 changed files with 6 additions and 1 deletions

View File

@ -8,6 +8,11 @@ header {
&.navbar-empty { &.navbar-empty {
background: #FFF; background: #FFF;
border-bottom: 1px solid #EEE; border-bottom: 1px solid #EEE;
.center-logo {
margin: 8px 0;
text-align: center;
}
} }
&.navbar-gitlab { &.navbar-gitlab {

View File

@ -1,4 +1,4 @@
%header.navbar.navbar-fixed-top.navbar-empty %header.navbar.navbar-fixed-top.navbar-empty
.container .container
%h4.center .center-logo
= image_tag 'logo-white.png', width: 32, height: 32 = image_tag 'logo-white.png', width: 32, height: 32