Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
recent_topics: Show unread counts similar to other UI elements.
Aman Agrawal0327ec4c4bbf
diff --git a/static/styles/recent_topics.scss b/static/styles/recent_topics.scssindex 02cd992b343..918ff38ff0d 100644--- a/static/styles/recent_topics.scss+++ b/static/styles/recent_topics.scss@@ -119,11 +119,18 @@}.recent_topic_unread_count {- background-color: hsl(0, 0%, 89%);+ background-color: hsl(105, 2%, 50%) !important;+ color: hsl(0, 0%, 100%);float: right;- padding: 0.5px;+ height: 16px;+ line-height: 16px;+ font-size: 12px;+ font-weight: 400;+ letter-spacing: .6px;+ border-radius: 4px;+ background-color: hsl(0, 0%, 89%);+ padding: 0 4px;margin-right: 10px;- border-radius: 5px;}.recent_avatars {diff --git a/static/templates/recent_topic_row.hbs b/static/templates/recent_topic_row.hbsindex 7bc4999ddf3..2952844cfe7 100644--- a/static/templates/recent_topic_row.hbs+++ b/static/templates/recent_topic_row.hbs@@ -7,7 +7,7 @@</td><td class="recent_topic_name"><a href="{{topic_url}}">{{topic}}</a>- {{#if unread_count}}<span class="recent_topic_unread_count">+{{unread_count}}</span>{{/if}}+ {{#if unread_count}}<span class="recent_topic_unread_count">{{unread_count}}</span>{{/if}}</td><td class="recent_topic_actions">{{#if topic_muted}}