Skip to content

A platform for community discussion. Free, open, simple.

Fixing categories not wrapping properly

Kris436d2b57c93d
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;
}
}