Merge branch 'fix_gitlab-ce#41891' into 'master'

fix gitlab-org/gitlab-ce#41891 (design nitpick)

Closes #41891

See merge request gitlab-org/gitlab-ce!16383
This commit is contained in:
Annabel Dunstone Gray 2018-01-12 20:42:21 +00:00
commit a52d8c101d
3 changed files with 13 additions and 3 deletions

View File

@ -104,7 +104,10 @@
img {
height: 28px;
margin-right: 8px;
+ .logo-text {
margin-left: 8px;
}
}
&.wrap {

View File

@ -6,8 +6,10 @@
%h1.title
= link_to root_path, title: 'Dashboard', id: 'logo' do
= brand_header_logo
%span.logo-text.hidden-xs
= brand_header_logo_type
- logo_text = brand_header_logo_type
- if logo_text.present?
%span.logo-text.hidden-xs
= logo_text
- if current_user
= render "layouts/nav/dashboard"

View File

@ -0,0 +1,5 @@
---
title: 'Fix custom header logo design nitpick: Remove unneeded margin on empty logo text'
merge_request: 16383
author: Markus Doits
type: fixed