From 8617954dadffd38116662937e3fb9beb55851668 Mon Sep 17 00:00:00 2001 From: joola Date: Tue, 12 Feb 2019 17:42:08 +0000 Subject: Replace useless divs with flex layout in navbar Notable changes proposed by @pslaughter --- app/assets/stylesheets/framework/header.scss | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'app/assets/stylesheets/framework/header.scss') diff --git a/app/assets/stylesheets/framework/header.scss b/app/assets/stylesheets/framework/header.scss index 36dd1cee4de..23dcc1817b1 100644 --- a/app/assets/stylesheets/framework/header.scss +++ b/app/assets/stylesheets/framework/header.scss @@ -565,15 +565,14 @@ } .navbar-empty { + justify-content: center; height: $header-height; background: $white-light; border-bottom: 1px solid $white-normal; - .mx-auto { - .tanuki-logo, - img { - height: 36px; - } + .tanuki-logo, + .brand-header-logo { + max-height: 100%; } } -- cgit v1.2.1