Skip to content

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

FIX: mixed texts when mixing rtl/ltr text in topic tile on categories page

Joffrey JAFFEUX9f558d7e7411
diff --git a/app/assets/stylesheets/desktop/category-list.scss b/app/assets/stylesheets/desktop/category-list.scss
index f89e2ead2ac..2c18b5ca833 100644
--- a/app/assets/stylesheets/desktop/category-list.scss
+++ b/app/assets/stylesheets/desktop/category-list.scss
@@ -58,6 +58,9 @@
.featured-topic {
margin: 10px 0 0;
+ display: flex;
+ align-items: center;
+ flex-wrap: wrap;
&:first-of-type {
margin-top: 13px;
@@ -73,13 +76,9 @@
color: dark-light-choose($primary-medium, $secondary-high);
}
- .topic-post-badges {
- position: relative;
- top: -2px;
- }
-
- .badge-notification.new-posts {
- margin: 0 2px;
+ .topic-post-badges .badge.new-posts,
+ .title {
+ margin-right: 5px;
}
}