UX: removes unnecessary margin in header tag wrapper

UX: removes unnecessary margin in header tag wrapper

This margin is not needed and doesn’t exist in the mobile view.

It causes a bit of a problem in desktop topics with no categories and more prominently in PMs in the desktop view.

There’s a small TODO here where the rest of the extra-info-wrapper styles should all be moved to header sylesheets.

diff --git a/app/assets/stylesheets/desktop/topic-post.scss b/app/assets/stylesheets/desktop/topic-post.scss
index 7cfbad6..3bbfa6a 100644
--- a/app/assets/stylesheets/desktop/topic-post.scss
+++ b/app/assets/stylesheets/desktop/topic-post.scss
@@ -517,9 +517,6 @@ video {
     overflow: hidden;
     text-overflow: ellipsis;
   }
-  .topic-header-extra {
-    margin: 0 0 0 5px;
-  }
 }
 
 /* default docked header CSS for all topics, including those without categories */

GitHub
sha: 74f0bd08

2 Likes