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.

recent_view: Remove envolope icon from header row.

Aman Agrawaleacbd7bf4ca7
diff --git a/web/styles/recent_view.css b/web/styles/recent_view.css
index 87132917438..1b73e592f66 100644
--- a/web/styles/recent_view.css
+++ b/web/styles/recent_view.css
@@ -654,8 +654,11 @@
}
.recent-view-unread-sort-header {
+ /* Use width that reasonably covers 2-3 magnitudes of count. */
+ width: 1.5em;
margin-right: -0.1563em; /* 2.5px at 16px/1em */
justify-self: end;
+ justify-content: center;
}
}
diff --git a/web/templates/recent_view_table.hbs b/web/templates/recent_view_table.hbs
index 183fae59cea..55a54c42967 100644
--- a/web/templates/recent_view_table.hbs
+++ b/web/templates/recent_view_table.hbs
@@ -23,9 +23,7 @@
<i class="table-sortable-arrow zulip-icon zulip-icon-sort-arrow-down"></i>
</span>
<span class="recent-view-unread-sort-header hidden-for-spectators tippy-zulip-delayed-tooltip" data-sort="unread_sort" data-tippy-content="{{t 'Sort by unread message count' }}">
- {{!-- Arrow is intentionally kept before unread icon to better align with unread count --}}
<i class="table-sortable-arrow zulip-icon zulip-icon-sort-arrow-down"></i>
- <i class="zulip-icon zulip-icon-unread"></i>
</span>
</div>
</th>