Keep avatar image at native size for normal font-size, remove unneeded clearfix

Keep avatar image at native size for normal font-size, remove unneeded clearfix

diff --git a/app/assets/javascripts/discourse/widgets/header.js.es6 b/app/assets/javascripts/discourse/widgets/header.js.es6
index 80f213c..07ef944 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 7f6537d..b7fe98f 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 {

GitHub sha: 9f523068

1 Like