Commit 8617954d authored by joola's avatar joola Committed by Annabel Dunstone Gray
Browse files

Replace useless divs with flex layout in navbar

Notable changes proposed by @pslaughter
parent 553c9f3c
......@@ -565,15 +565,14 @@
.navbar-empty {
justify-content: center;
height: $header-height;
background: $white-light;
border-bottom: 1px solid $white-normal;
.mx-auto {
img {
height: 36px;
.brand-header-logo {
max-height: 100%;
......@@ -28,7 +28,7 @@ def current_appearance
def brand_header_logo
if current_appearance&.header_logo?
image_tag current_appearance.header_logo_path
image_tag current_appearance.header_logo_path, class: 'brand-header-logo'
render 'shared/logo.svg'
= brand_header_logo
= brand_header_logo
title: Fix overlapping empty-header logo
merge_request: 24868
author: Jonas L.
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