From 276830b275006bba2a1eb34b6351e29012b416d1 Mon Sep 17 00:00:00 2001 From: Daniil Fadeev Date: Thu, 10 Aug 2023 15:07:22 +0300 Subject: [PATCH] left_sidebar: Fix the layout for filter names that are long. --- web/styles/left_sidebar.css | 14 +++++++++++++- web/templates/left_sidebar.hbs | 24 ++++++++++++------------ 2 files changed, 25 insertions(+), 13 deletions(-) diff --git a/web/styles/left_sidebar.css b/web/styles/left_sidebar.css index f795a3857d..b9326000c6 100644 --- a/web/styles/left_sidebar.css +++ b/web/styles/left_sidebar.css @@ -448,6 +448,19 @@ li.active-sub-filter { #global_filters { margin-bottom: $sections_vertical_gutter; + .global-filter-container { + display: flex; + padding-right: 20px; + + .global-filter-name { + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + + flex-grow: 1; + } + } + .filter-icon { display: inline-block; min-width: $left_col_size; @@ -455,7 +468,6 @@ li.active-sub-filter { } .top_left_row .unread_count { - margin-right: 20px; margin-top: 2px; display: none; } diff --git a/web/templates/left_sidebar.hbs b/web/templates/left_sidebar.hbs index 7ccb7c5a64..10250ca533 100644 --- a/web/templates/left_sidebar.hbs +++ b/web/templates/left_sidebar.hbs @@ -3,64 +3,64 @@