From 8d2996fe0e86c30035fa249f57d86f55dc7cbd97 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Fri, 5 Jun 2015 12:08:43 +0200 Subject: Fix empty header Signed-off-by: Dmitriy Zaporozhets --- app/assets/stylesheets/generic/header.scss | 5 +++++ app/views/layouts/header/_empty.html.haml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/generic/header.scss b/app/assets/stylesheets/generic/header.scss index 71afccba001..3e738929a78 100644 --- a/app/assets/stylesheets/generic/header.scss +++ b/app/assets/stylesheets/generic/header.scss @@ -8,6 +8,11 @@ header { &.navbar-empty { background: #FFF; border-bottom: 1px solid #EEE; + + .center-logo { + margin: 8px 0; + text-align: center; + } } &.navbar-gitlab { diff --git a/app/views/layouts/header/_empty.html.haml b/app/views/layouts/header/_empty.html.haml index 16fbf6d4020..a52a3c8f0ef 100644 --- a/app/views/layouts/header/_empty.html.haml +++ b/app/views/layouts/header/_empty.html.haml @@ -1,4 +1,4 @@ %header.navbar.navbar-fixed-top.navbar-empty .container - %h4.center + .center-logo = image_tag 'logo-white.png', width: 32, height: 32 -- cgit v1.2.1