UX: Give badge icons width to accommodate for dimensionless SVGs

UX: Give badge icons width to accommodate for dimensionless SVGs

diff --git a/app/assets/stylesheets/common/base/user-badges.scss b/app/assets/stylesheets/common/base/user-badges.scss
index b05e2bd..42f7f6e 100644
--- a/app/assets/stylesheets/common/base/user-badges.scss
+++ b/app/assets/stylesheets/common/base/user-badges.scss
@@ -161,9 +161,12 @@
       align-items: center;
       justify-content: center;
       font-size: 3.5em;
-
+      a {
+        width: 100%;
+      }
       img {
-        max-width: 80px;
+        width: 100%;
+        max-width: 65px;
         max-height: 80px;
       }

GitHub sha: 589351d9

1 Like