remove wrong/unneeded margin of custom navigation header logo without logo text

This commit is contained in:
Markus Doits 2018-01-11 11:42:58 +01:00
parent 3b029de094
commit 3c6d95a6d3
No known key found for this signature in database
GPG Key ID: A0796D16BD3D3DAE
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