uispacing: improve padding in CC sidebar items
Fixed: twpowertools:131
Bug: twpowertools:130
Change-Id: I6d2432b9a8c09265c8b448c9cba1b3575b964f38
diff --git a/src/static/css/ui_spacing/console.css b/src/static/css/ui_spacing/console.css
index daa400e..33d0fec 100644
--- a/src/static/css/ui_spacing/console.css
+++ b/src/static/css/ui_spacing/console.css
@@ -113,4 +113,24 @@
.scTailwindThreadQuestionQuestioncardcontent {
padding: 2rem 3rem 1.5rem 3rem!important;
}
+
+ /*
+ * == SIDEBAR ==
+ * Make the items more compact, like before, but only in large screens.
+ */
+ :is(ec-forum-drawer-item, ec-filter-drawer-item) > material-list-item {
+ height: 40px!important;
+ }
+
+ ec-filter-drawer-item > material-list-item {
+ line-height: 32px!important;
+ }
+
+ ec-forum-drawer-item > material-list-item > material-menu > material-button > .content {
+ padding: 8px!important;
+ }
+
+ ec-filter-drawer-item > material-menu {
+ top: 0!important;
+ }
}