From af3262d70a238f31ab54ad0ccf7dd26fb71a5134 Mon Sep 17 00:00:00 2001 From: Vinoth Kannan Date: Fri, 1 Jul 2022 09:12:16 +0530 Subject: [PATCH] UX: made "Dismiss New" button clickable by replacing `float` method. (#17288) Since we removed the `row:after { clear: both }` CSS we no longer use `float` style here. Instead, we should use `flex` style to align the button in right side. --- app/assets/stylesheets/desktop/topic-list.scss | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/app/assets/stylesheets/desktop/topic-list.scss b/app/assets/stylesheets/desktop/topic-list.scss index 89c892d089c..915dcbca7b5 100644 --- a/app/assets/stylesheets/desktop/topic-list.scss +++ b/app/assets/stylesheets/desktop/topic-list.scss @@ -176,10 +176,9 @@ } } -button.dismiss-read { - float: right; - margin-bottom: 5px; - margin-left: 10px; +.dismiss-container-top { + display: flex; + justify-content: flex-end; } .category-breadcrumb {