From e824385e64ba2a02841c32e641c14602e71db871 Mon Sep 17 00:00:00 2001 From: awesomerobot Date: Mon, 31 Aug 2020 22:45:43 -0400 Subject: [PATCH] only remove edit button margin when text is hidden --- app/assets/stylesheets/mobile/topic-list.scss | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/assets/stylesheets/mobile/topic-list.scss b/app/assets/stylesheets/mobile/topic-list.scss index 9e71af85256..a8293f0458d 100644 --- a/app/assets/stylesheets/mobile/topic-list.scss +++ b/app/assets/stylesheets/mobile/topic-list.scss @@ -67,11 +67,11 @@ flex-wrap: wrap; width: 100%; .edit-category { - .d-icon { - margin: 0; - } @media screen and (max-width: 374px) { // Hide edit label on very tiny screens + .d-icon { + margin: 0; + } .d-button-label { display: none; }