From 96119981ac8db926654724ab59994bc7046f9672 Mon Sep 17 00:00:00 2001 From: Jeff Atwood Date: Wed, 23 Mar 2016 02:27:34 -0700 Subject: [PATCH] simplify badge page layout a bit --- app/assets/javascripts/discourse/templates/badges/show.hbs | 2 -- app/assets/stylesheets/common/base/user-badges.scss | 2 -- 2 files changed, 4 deletions(-) diff --git a/app/assets/javascripts/discourse/templates/badges/show.hbs b/app/assets/javascripts/discourse/templates/badges/show.hbs index 2c30458fae0..923dfa099d4 100644 --- a/app/assets/javascripts/discourse/templates/badges/show.hbs +++ b/app/assets/javascripts/discourse/templates/badges/show.hbs @@ -13,8 +13,6 @@
-
{{user-badge badge=model}}
-
{{{model.displayDescriptionHtml}}}
{{#unless user}}
{{i18n 'badges.granted' count=grantCount}}
{{/unless}} diff --git a/app/assets/stylesheets/common/base/user-badges.scss b/app/assets/stylesheets/common/base/user-badges.scss index cd475c01478..0be77d60aa6 100644 --- a/app/assets/stylesheets/common/base/user-badges.scss +++ b/app/assets/stylesheets/common/base/user-badges.scss @@ -75,7 +75,6 @@ } border-bottom: 1px solid dark-light-diff($primary, $secondary, 90%, -60%); - border-top: 1px solid dark-light-diff($primary, $secondary, 90%, -60%); width: 90%; padding: 10px; display: table; @@ -93,7 +92,6 @@ } .grant-count { - text-align: center; color: dark-light-choose(scale-color($primary, $lightness: 40%), scale-color($secondary, $lightness: 60%)); font-size: 120%; }