Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

left_sidebar: Solidify grid placement of filter-clearing button.

Karl Stolley0f30c93a2fd0
diff --git a/web/styles/left_sidebar.css b/web/styles/left_sidebar.css
index fc97e9c4016..1e19cbf620c 100644
--- a/web/styles/left_sidebar.css
+++ b/web/styles/left_sidebar.css
@@ -81,11 +81,10 @@
margin: 3px 0;
.clear_search_button {
- grid-area: row-content;
- justify-self: self-end;
+ grid-area: clear-button;
/* Override app-component positioning. */
position: static;
- padding-right: 4px;
+ padding: 0;
}
}
@@ -1098,12 +1097,11 @@ li.top_left_scheduled_messages {
.topic_search_section {
grid-template-columns:
- var(--left-sidebar-toggle-width-offset) 0 0 [filter-box-start] minmax(
- 0,
- 1fr
- )
+ var(--left-sidebar-toggle-width-offset) 0 0
+ [filter-box-start] minmax(0, 1fr)
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 {