left_sidebar: Keep filter box from touching highlihted edge.

This commit is contained in:
Karl Stolley
2025-04-11 14:35:14 -04:00
committed by Tim Abbott
parent faa56e5f67
commit c24d935f7c

View File

@@ -1148,10 +1148,14 @@ li.top_left_scheduled_messages {
.left-sidebar-filter-row {
display: grid;
/* The final 2px column keeps the filter box from going
to the edge of the highlighted channel box, and also
matches the right edge to the right edge of the vdots
on the channel row. (The vdots take a 2px right margin.) */
grid-template-columns:
[filter-box-start] minmax(0, 1fr)
[clear-button-start] var(--line-height-sidebar-row-prominent)
[clear-button-end filter-box-end];
[clear-button-end filter-box-end] 2px;
grid-template-rows: [filter-box-start clear-button-start] auto [clear-button-end filter-box-end];
align-content: center;