left_sidebar: Solidify grid placement of filter-clearing button.

This commit is contained in:
Karl Stolley 2024-11-01 14:11:53 -05:00 committed by Tim Abbott
parent e4a2bf1f29
commit 0f30c93a2f
1 changed files with 6 additions and 8 deletions

View File

@ -81,11 +81,10 @@
margin: 3px 0; margin: 3px 0;
.clear_search_button { .clear_search_button {
grid-area: row-content; grid-area: clear-button;
justify-self: self-end;
/* Override app-component positioning. */ /* Override app-component positioning. */
position: static; position: static;
padding-right: 4px; padding: 0;
} }
} }
@ -1098,12 +1097,11 @@ li.top_left_scheduled_messages {
.topic_search_section { .topic_search_section {
grid-template-columns: grid-template-columns:
var(--left-sidebar-toggle-width-offset) 0 0 [filter-box-start] minmax( var(--left-sidebar-toggle-width-offset) 0 0
0, [filter-box-start] minmax(0, 1fr)
1fr
)
minmax(0, max-content) minmax(0, max-content)
30px [filter-box-end] 0; [clear-button-start] var(--left-sidebar-vdots-width)
[clear-button-end filter-box-end] 0;
} }
.topic-box .zero_count { .topic-box .zero_count {