UX: improves styling of similar topics results in composer (#7839)

UX: improves styling of similar topics results in composer (#7839)

diff --git a/app/assets/stylesheets/common/base/search-menu.scss b/app/assets/stylesheets/common/base/search-menu.scss
index 170142a..0ba6499 100644
--- a/app/assets/stylesheets/common/base/search-menu.scss
+++ b/app/assets/stylesheets/common/base/search-menu.scss
@@ -57,6 +57,19 @@
       }
     }
 
+    .search-result-topic {
+      .second-line {
+        display: flex;
+        flex-wrap: wrap;
+        align-items: center;
+
+        .discourse-tags {
+          flex-wrap: wrap;
+          display: contents;
+        }
+      }
+    }
+
     .main-results {
       display: flex;
       flex: 1 1 auto;
@@ -253,17 +266,6 @@
     .topic {
       display: inline-block;
       line-height: $line-height-medium;
-
-      .second-line {
-        display: flex;
-        flex-wrap: wrap;
-        align-items: center;
-
-        .discourse-tags {
-          flex-wrap: wrap;
-          display: contents;
-        }
-      }
     }
 
     .topic-title {
diff --git a/app/assets/stylesheets/desktop/compose.scss b/app/assets/stylesheets/desktop/compose.scss
index 0594ca8..f4b4976 100644
--- a/app/assets/stylesheets/desktop/compose.scss
+++ b/app/assets/stylesheets/desktop/compose.scss
@@ -191,8 +191,23 @@
     }
     span.topic {
       display: flex;
-      align-items: baseline;
-      flex-wrap: wrap;
+      flex-direction: column;
+
+      .first-line {
+        flex: 1;
+      }
+
+      .second-line {
+        display: flex;
+        flex-wrap: wrap;
+        align-items: center;
+
+        .discourse-tags {
+          flex-wrap: wrap;
+          display: contents;
+          font-size: $font-down-1;
+        }
+      }
     }
   }
 }

GitHub sha: 1b45096a