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: Set topic rows to normalized em-based line-height.

Karl Stolleyb4b5d03a8e20
diff --git a/web/styles/left_sidebar.css b/web/styles/left_sidebar.css
index fd82e45af84..099e0568a99 100644
--- a/web/styles/left_sidebar.css
+++ b/web/styles/left_sidebar.css
@@ -108,7 +108,7 @@ li.show-more-topics {
margin-left: 0;
&.topic-list li {
- padding: 2px 0;
+ padding: 0;
&.filter-topics {
padding-bottom: 0;
@@ -900,8 +900,6 @@ li.top_left_scheduled_messages {
.topic-box,
.searching-for-more-topics {
- /* Padding from original .topic-box definition. */
- padding-top: 1px;
grid-template-columns:
25px $topic_resolve_width minmax(0, 1fr) minmax(0, max-content)
30px 0;
@@ -914,11 +912,7 @@ li.top_left_scheduled_messages {
.sidebar-topic-name {
cursor: pointer;
grid-area: row-content;
- padding: 1px $before_unread_count_padding 1px 0;
-
- /* TODO: We should figure out how to remove this without changing the spacing */
- line-height: 1.1;
-
+ padding: 0 $before_unread_count_padding 0 0;
/* TODO: Consolidate these styles with conversation partners and stream name
once grid rewrite is complete on all sidebar rows.
@@ -942,7 +936,6 @@ li.top_left_scheduled_messages {
.sidebar-topic-check {
grid-area: starting-anchor-element;
font-size: 15px;
- height: 20px;
}
.stream-markers-and-controls,