Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
recent topics: Rename some HTML classes for readability.
Abhijeet Prasad Bodased8faf13748b
diff --git a/static/styles/night_mode.css b/static/styles/night_mode.cssindex 4f63e4344d3..8e4522f9532 100644--- a/static/styles/night_mode.css+++ b/static/styles/night_mode.css@@ -453,7 +453,7 @@ on a dark background, and don't change the dark labels dark either. */background-color: hsla(0, 0%, 0%, 0.2);}- .recent_avatars_others {+ .recent_topics_participant_overflow {color: hsl(0, 0%, 100%) !important;background-color: hsl(211, 18%, 25%) !important;}diff --git a/static/styles/recent_topics.css b/static/styles/recent_topics.cssindex 6918872aebd..0e66311f53d 100644--- a/static/styles/recent_topics.css+++ b/static/styles/recent_topics.css@@ -151,7 +151,7 @@flex-flow: row nowrap;}- .recent_avatars {+ .recent_topics_participants {display: inline-flex; /* Causes LI items to display in row. */list-style-type: none;margin: auto; /* Centers vertically / horizontally in flex container. */@@ -170,7 +170,7 @@flex-direction: row-reverse;}- .recent_avatars_item {+ .recent_topics_participant_item {height: 24px;margin: 0;padding: 0 1.5px 0 1.5px;@@ -178,8 +178,8 @@min-width: 24px;}- .recent_avatars_img,- .recent_avatars_others {+ .recent_topics_participant_avatar,+ .recent_topics_participant_overflow {border: 0;border-radius: 6px;color: hsl(0, 0%, 100%);@@ -189,7 +189,7 @@background-color: hsl(0, 0%, 88%);}- .recent_avatars_others {+ .recent_topics_participant_overflow {color: hsl(0, 0%, 0%);line-height: 24px;}diff --git a/static/templates/recent_topic_row.hbs b/static/templates/recent_topic_row.hbsindex 25e13b8536c..4e6e9913a79 100644--- a/static/templates/recent_topic_row.hbs+++ b/static/templates/recent_topic_row.hbs@@ -30,20 +30,20 @@</div></td><td class='recent_topic_users'>- <ul class="recent_avatars">+ <ul class="recent_topics_participants">{{#if other_senders_count}}- <li class="recent_avatars_item">- <span class="recent_avatars_others">+{{other_senders_count}}</span>+ <li class="recent_topics_participant_item">+ <span class="recent_topics_participant_overflow">+{{other_senders_count}}</span></li>{{/if}}{{#each senders}}{{#if this.is_muted}}- <li class="recent_avatars_item" title="{{t 'Muted user'}}">- <span><i class="fa fa-user recent_avatars_others"></i></span>+ <li class="recent_topics_participant_item" title="{{t 'Muted user'}}">+ <span><i class="fa fa-user recent_topics_participant_overflow"></i></span></li>{{else}}- <li class="recent_avatars_item" title="{{this.full_name}}">- <img src="{{this.avatar_url_small}}" class="recent_avatars_img" />+ <li class="recent_topics_participant_item" title="{{this.full_name}}">+ <img src="{{this.avatar_url_small}}" class="recent_topics_participant_avatar" /></li>{{/if}}{{/each}}