mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
This commit updates the subscribers and group members table CSS to use fixed layout. This helps in having user pill take the width if available and we can show more characters. Previously the width of name in user pill was set to have a max width of 165px which meant the there was some empty unused space in the rows especially on narrow screens when email column was hidden. Fixes #35157.
18 lines
939 B
Handlebars
18 lines
939 B
Handlebars
<tr class="settings-subscriber-row" data-user-id="{{user_id}}" >
|
|
<td class="panel_user_list">
|
|
{{> ../user_display_only_pill . display_value=full_name strikethrough=soft_removed is_active=true}}
|
|
</td>
|
|
{{#if email}}
|
|
<td class="subscriber-email settings-email-column {{#if soft_removed}} strikethrough {{/if}}">{{email}}</td>
|
|
{{else}}
|
|
<td class="hidden-subscriber-email {{#if soft_removed}} strikethrough {{/if}}">{{t "(hidden)"}}</td>
|
|
{{/if}}
|
|
<td class="action-column">
|
|
{{#if soft_removed}}
|
|
{{> ../components/action_button custom_classes="undo_soft_removed_potential_subscriber" label=(t "Add") attention="quiet" intent="neutral" aria-label=(t "Add") }}
|
|
{{else}}
|
|
{{> ../components/action_button custom_classes="remove_potential_subscriber" label=(t "Remove") attention="quiet" intent="neutral" aria-label=(t "Remove") }}
|
|
{{/if}}
|
|
</td>
|
|
</tr>
|