From 5d341bef576ae0b187e2726229ec06b32cf77d85 Mon Sep 17 00:00:00 2001 From: Jeff Atwood Date: Tue, 20 Oct 2015 00:46:20 -0700 Subject: [PATCH] remove valign-helper hack, let's go flexbox --- .../discourse/templates/components/home-logo.hbs | 3 --- app/assets/stylesheets/common/base/header.scss | 6 ------ 2 files changed, 9 deletions(-) diff --git a/app/assets/javascripts/discourse/templates/components/home-logo.hbs b/app/assets/javascripts/discourse/templates/components/home-logo.hbs index 976aefd88fe..b2b8f9e6db7 100644 --- a/app/assets/javascripts/discourse/templates/components/home-logo.hbs +++ b/app/assets/javascripts/discourse/templates/components/home-logo.hbs @@ -1,18 +1,15 @@ {{#if showSmallLogo}} {{#if smallLogoUrl}} - {{else}} {{/if}} {{else}} {{#if showMobileLogo}} - {{else}} {{#if bigLogoUrl}} - {{else}} diff --git a/app/assets/stylesheets/common/base/header.scss b/app/assets/stylesheets/common/base/header.scss index bc20cefeaa4..51d5835c2b4 100644 --- a/app/assets/stylesheets/common/base/header.scss +++ b/app/assets/stylesheets/common/base/header.scss @@ -19,12 +19,6 @@ float: left; } - .valign-helper { - display: inline-block; - height: 100%; - vertical-align: middle; - } - #site-logo { max-height: 40px; }