remove wrong/unneeded margin of custom navigation header logo without logo text
This commit is contained in:
parent
3b029de094
commit
3c6d95a6d3
|
@ -104,7 +104,10 @@
|
|||
|
||||
img {
|
||||
height: 28px;
|
||||
margin-right: 8px;
|
||||
|
||||
+ .logo-text {
|
||||
margin-left: 8px;
|
||||
}
|
||||
}
|
||||
|
||||
&.wrap {
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue