From 436d2b57c93da8d70ecd11f3a160f0c12c3ec553 Mon Sep 17 00:00:00 2001 From: Kris Date: Mon, 26 Feb 2018 16:32:56 -0500 Subject: [PATCH] Fixing categories not wrapping properly --- app/assets/stylesheets/common/components/badges.scss | 3 ++- app/assets/stylesheets/desktop/category-list.scss | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/common/components/badges.scss b/app/assets/stylesheets/common/components/badges.scss index 733cf13017b..22764d98d94 100644 --- a/app/assets/stylesheets/common/components/badges.scss +++ b/app/assets/stylesheets/common/components/badges.scss @@ -20,7 +20,7 @@ font-weight: bold; white-space: nowrap; position: relative; - display: flex; + display: inline-flex; align-items: baseline; .badge-category { @@ -31,6 +31,7 @@ } .d-icon { margin-right: 3px; + line-height: $line-height-large; } } diff --git a/app/assets/stylesheets/desktop/category-list.scss b/app/assets/stylesheets/desktop/category-list.scss index 1ebf438378f..9eb594f9e5a 100644 --- a/app/assets/stylesheets/desktop/category-list.scss +++ b/app/assets/stylesheets/desktop/category-list.scss @@ -51,7 +51,7 @@ .subcategories { .badge-notification.new-posts { padding: 0; - margin: 0 5px 0 0; + margin: 0 10px 0 0; } }