UX: Don't truncate category names in search panel

UX: Don’t truncate category names in search panel

But keep truncating long category names in hamburger menu.

diff --git a/app/assets/stylesheets/common/base/menu-panel.scss b/app/assets/stylesheets/common/base/menu-panel.scss
index 4b47880..267326f 100644
--- a/app/assets/stylesheets/common/base/menu-panel.scss
+++ b/app/assets/stylesheets/common/base/menu-panel.scss
@@ -90,8 +90,14 @@
   }
 }
 
-.hamburger-panel .panel-body {
-  overflow-y: auto;
+.hamburger-panel {
+  .panel-body {
+    overflow-y: auto;
+  }
+
+  span.badge-category {
+    max-width: 100px;
+  }
 }
 
 .menu-links.columned {
@@ -179,10 +185,6 @@
     font-size: $font-down-1;
   }
 
-  span.badge-category {
-    max-width: 100px;
-  }
-
   div.discourse-tags {
     font-size: $font-down-1;
   }

GitHub sha: aca2697a

This commit has been mentioned on Discourse Meta. There might be relevant details there:

https://meta.discourse.org/t/category-selector-dont-overflow-through-the-search-container/165530/3