Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
user_profile: Refactor user_group_list_item to use similar classes.
Pratik Chanda0e90cf430d43
diff --git a/web/styles/modal.css b/web/styles/modal.cssindex 067779e4458..66381bac937 100644--- a/web/styles/modal.css+++ b/web/styles/modal.css@@ -499,7 +499,7 @@margin-bottom: 5px;-webkit-overflow-scrolling: touch;- .user-profile-group-row,+ .modal-group-list-row,.modal-channel-list-row {display: flex;justify-content: space-between;@@ -511,6 +511,7 @@color: var(--color-dropdown-item);cursor: pointer;+ .modal-group-list-row-content,.modal-channel-list-row-content {display: flex;overflow: hidden;diff --git a/web/templates/user_group_list_item.hbs b/web/templates/user_group_list_item.hbsindex 73c4b203038..96b505a5fd9 100644--- a/web/templates/user_group_list_item.hbs+++ b/web/templates/user_group_list_item.hbs@@ -1,7 +1,9 @@<li class="group-list-item" role="presentation" data-group-id="{{group_id}}">- <a class="user-profile-group-row hidden-remove-button-row" href="{{group_edit_url}}">- <span class="user-group-name">- {{name}}+ <a class="modal-group-list-row hidden-remove-button-row" href="{{group_edit_url}}">+ <span class="modal-group-list-row-content">+ <span class="user-group-name">+ {{name}}+ </span></span>{{#if can_remove_members }}<div class="remove-button-wrapper">