Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
settings: Fix "Actions" column width for subscribers and members list.
Sahil Batrad8b3c5581cb9
diff --git a/web/src/user_group_edit.js b/web/src/user_group_edit.jsindex 863c88ebb81..b54d977992c 100644--- a/web/src/user_group_edit.js+++ b/web/src/user_group_edit.js@@ -135,7 +135,7 @@ function disable_group_edit_settings(group) {}const $edit_container = get_edit_container(group);$edit_container.find(".group-header .button-group").hide();- $edit_container.find(".member-list .actions").hide();+ $edit_container.find(".member-list .user-remove-actions").hide();update_add_members_elements(group);}diff --git a/web/styles/subscriptions.css b/web/styles/subscriptions.cssindex 1a4558ce618..759e54120de 100644--- a/web/styles/subscriptions.css+++ b/web/styles/subscriptions.css@@ -196,6 +196,10 @@ h4.user_group_setting_subsection_title {.hidden-subscriber-email {font-style: italic;}++ th.user-remove-actions {+ min-width: 80px;+ }}}}diff --git a/web/templates/stream_settings/stream_members.hbs b/web/templates/stream_settings/stream_members.hbsindex 40459da9813..216321f4879 100644--- a/web/templates/stream_settings/stream_members.hbs+++ b/web/templates/stream_settings/stream_members.hbs@@ -24,7 +24,7 @@<th data-sort="alphabetic" data-sort-prop="full_name">{{t "Name" }}</th><th data-sort="email">{{t "Email" }}</th>{{#if can_remove_subscribers}}- <th class="actions">{{t "Actions" }}</th>+ <th>{{t "Actions" }}</th>{{/if}}</thead><tbody class="subscriber_table" data-empty="{{t 'This stream has no subscribers.' }}" data-search-results-empty="{{t 'No stream subscribers match your current filter.'}}"></tbody>diff --git a/web/templates/user_group_settings/user_group_members.hbs b/web/templates/user_group_settings/user_group_members.hbsindex 6cc46c578a0..cb19b489d32 100644--- a/web/templates/user_group_settings/user_group_members.hbs+++ b/web/templates/user_group_settings/user_group_members.hbs@@ -22,7 +22,7 @@<thead class="table-sticky-headers"><th data-sort="alphabetic" data-sort-prop="full_name">{{t "Name" }}</th><th data-sort="email">{{t "Email" }}</th>- <th class="actions" {{#unless can_edit}}style="display:none"{{/unless}}>{{t "Actions" }}</th>+ <th class="user-remove-actions" {{#unless can_edit}}style="display:none"{{/unless}}>{{t "Actions" }}</th></thead><tbody class="member_table" data-empty="{{t 'This group has no members.' }}" data-search-results-empty="{{t 'No group members match your current filter.'}}"></tbody></table>