Commit 3c6d95a6 authored by Markus Doits's avatar Markus Doits

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

parent 3b029de0
...@@ -104,7 +104,10 @@ ...@@ -104,7 +104,10 @@
img { img {
height: 28px; height: 28px;
margin-right: 8px;
+ .logo-text {
margin-left: 8px;
}
} }
&.wrap { &.wrap {
......
...@@ -6,8 +6,10 @@ ...@@ -6,8 +6,10 @@
%h1.title %h1.title
= link_to root_path, title: 'Dashboard', id: 'logo' do = link_to root_path, title: 'Dashboard', id: 'logo' do
= brand_header_logo = brand_header_logo
- logo_text = brand_header_logo_type
- if logo_text.present?
%span.logo-text.hidden-xs %span.logo-text.hidden-xs
= brand_header_logo_type = logo_text
- if current_user - if current_user
= render "layouts/nav/dashboard" = render "layouts/nav/dashboard"
......
---
title: 'Fix custom header logo design nitpick: Remove unneeded margin on empty logo text'
merge_request: 16383
author: Markus Doits
type: fixed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment