Remove condensed suggested topics, hide secondary table head

Remove condensed suggested topics, hide secondary table head

From d1e50b3f8e797bcca2d92aead9e4e9f05604f714 Mon Sep 17 00:00:00 2001
From: Kris <kris.aubuchon@discourse.org>
Date: Mon, 19 Nov 2018 11:26:21 -0500
Subject: [PATCH] Remove condensed suggested topics, hide secondary table head


diff --git a/app/assets/stylesheets/common/base/topic.scss b/app/assets/stylesheets/common/base/topic.scss
index 4c7d317..82233f4 100644
--- a/app/assets/stylesheets/common/base/topic.scss
+++ b/app/assets/stylesheets/common/base/topic.scss
@@ -168,21 +168,7 @@ a.badge-category {
 }
 
 .suggested-topics-wrapper.related-messages-wrapper {
-  .topic-list th,
-  .topic-list td {
-    padding: 5px;
-  }
-  .topic-list .main-link {
-    font-size: 1em;
-    .topic-list-item .discourse-tags {
-      font-size: $font-down-1;
-    }
-  }
-  #related-messages {
-    padding-bottom: 0;
-  }
-  #suggested-topics {
-    padding-top: 0.5em;
+  .suggested-topics:nth-of-type(n + 2) {
     thead {
       display: none;
     }

GitHub

1 Like