From 9f523068612e0775de3c82483db47014e5a562fa Mon Sep 17 00:00:00 2001 From: Kris Date: Thu, 17 Jan 2019 21:47:26 -0500 Subject: [PATCH] Keep avatar image at native size for normal font-size, remove unneeded clearfix --- app/assets/javascripts/discourse/widgets/header.js.es6 | 2 +- app/assets/stylesheets/common/base/header.scss | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/assets/javascripts/discourse/widgets/header.js.es6 b/app/assets/javascripts/discourse/widgets/header.js.es6 index 80f213c4fc9..07ef944794f 100644 --- a/app/assets/javascripts/discourse/widgets/header.js.es6 +++ b/app/assets/javascripts/discourse/widgets/header.js.es6 @@ -162,7 +162,7 @@ createWidget( ); createWidget("header-icons", { - tagName: "ul.icons.d-header-icons.clearfix", + tagName: "ul.icons.d-header-icons", buildAttributes() { return { role: "navigation" }; diff --git a/app/assets/stylesheets/common/base/header.scss b/app/assets/stylesheets/common/base/header.scss index 7f6537d752b..b7fe98f1c31 100644 --- a/app/assets/stylesheets/common/base/header.scss +++ b/app/assets/stylesheets/common/base/header.scss @@ -112,8 +112,8 @@ transition: all linear 0.15s; outline: none; img.avatar { - width: 2.2857em; - height: 2.2857em; + width: 2.1333em; + height: 2.1333em; } &:hover, &:focus {