From 9f558d7e74118d8dc0cb1db04f2b7200f5a3618c Mon Sep 17 00:00:00 2001 From: Joffrey JAFFEUX Date: Sun, 8 Jul 2018 08:37:12 +0200 Subject: [PATCH] FIX: mixed texts when mixing rtl/ltr text in topic tile on categories page --- app/assets/stylesheets/desktop/category-list.scss | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) 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; } }