UX: Make sure there's always a margin on badges page (#13693)

UX: Make sure there’s always a margin on badges page (#13693)

diff --git a/app/assets/javascripts/discourse/app/templates/badges/show.hbs b/app/assets/javascripts/discourse/app/templates/badges/show.hbs
index cc33f81..c624121 100644
--- a/app/assets/javascripts/discourse/app/templates/badges/show.hbs
+++ b/app/assets/javascripts/discourse/app/templates/badges/show.hbs
@@ -51,7 +51,7 @@
 
       {{#unless canLoadMore}}
         {{#if canShowOthers}}
-          <div class="clearfix">
+          <div>
             <a id="show-others-with-badge-link" href={{model.url}} class="btn btn-default">{{i18n "badges.others_count" count=othersCount}}</a>
           </div>
         {{/if}}
diff --git a/app/assets/stylesheets/common/base/user.scss b/app/assets/stylesheets/common/base/user.scss
index c1a2022..4bdf5f3 100644
--- a/app/assets/stylesheets/common/base/user.scss
+++ b/app/assets/stylesheets/common/base/user.scss
@@ -420,6 +420,10 @@
   }
 }
 
+.user-badges {
+  margin-bottom: 2em;
+}
+
 .stats-title {
   text-transform: uppercase;
   margin-bottom: 10px;
diff --git a/app/assets/stylesheets/mobile/user.scss b/app/assets/stylesheets/mobile/user.scss
index 53dfc3b..a955b9a 100644
--- a/app/assets/stylesheets/mobile/user.scss
+++ b/app/assets/stylesheets/mobile/user.scss
@@ -261,10 +261,6 @@
   width: 100%;
 }
 
-.user-badges {
-  margin-bottom: 2em;
-}
-
 .user-preferences {
   padding-bottom: 2em;
 

GitHub sha: a2425487b266771f8b9a7c17fe487b02c5b2f557

This commit appears in #13693 which was approved by tgxworld. It was merged by tgxworld.