Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
css: Have `move-handle` for every movable row instance.
Shubham Padia28d9c0247907
diff --git a/web/styles/settings.css b/web/styles/settings.cssindex b93a30d6329..feadadcd420 100644--- a/web/styles/settings.css+++ b/web/styles/settings.css@@ -776,37 +776,19 @@ input[type="checkbox"] {.admin_profile_fields_table,.edit_profile_field_choices_container,-.profile_field_choices_table {- .movable-row {- cursor: move;-- .fa-ellipsis-v {- color: hsl(0deg 0% 75%);- position: relative;- top: 1px;-- + i {- margin-right: 5px;- }- }- }-}-+.profile_field_choices_table,.admin_linkifiers_table {.movable-row {.move-handle {cursor: move;user-select: none;+ margin-right: 5px;}.fa-ellipsis-v {color: hsl(0deg 0% 75%);position: relative;top: 1px;-- + i {- margin-right: 5px;- }}}}diff --git a/web/templates/settings/admin_profile_field_list.hbs b/web/templates/settings/admin_profile_field_list.hbsindex b2e6ab59aa5..0af34ac9af3 100644--- a/web/templates/settings/admin_profile_field_list.hbs+++ b/web/templates/settings/admin_profile_field_list.hbs@@ -2,8 +2,10 @@<tr class="profile-field-row movable-row" data-profile-field-id="{{id}}"><td class="profile_field_name">{{#if ../can_modify}}- <i class="fa fa-ellipsis-v" aria-hidden="true"></i>- <i class="fa fa-ellipsis-v" aria-hidden="true"></i>+ <span class="move-handle">+ <i class="fa fa-ellipsis-v" aria-hidden="true"></i>+ <i class="fa fa-ellipsis-v" aria-hidden="true"></i>+ </span>{{/if}}<span class="profile_field_name">{{name}}</span></td>diff --git a/web/templates/settings/profile_field_choice.hbs b/web/templates/settings/profile_field_choice.hbsindex 19cbf0bee8b..09c769137f9 100644--- a/web/templates/settings/profile_field_choice.hbs+++ b/web/templates/settings/profile_field_choice.hbs@@ -1,6 +1,8 @@<div class='choice-row movable-row' data-value="{{value}}">- <i class="fa fa-ellipsis-v" aria-hidden="true"></i>- <i class="fa fa-ellipsis-v" aria-hidden="true"></i>+ <span class="move-handle">+ <i class="fa fa-ellipsis-v" aria-hidden="true"></i>+ <i class="fa fa-ellipsis-v" aria-hidden="true"></i>+ </span><input type='text' class="modal_text_input" placeholder='{{t "New option" }}' value="{{ text }}" /><button type='button' class="button rounded small delete-choice tippy-zulip-tooltip {{#if new_empty_choice_row}} hide {{/if}}" data-tippy-content="{{t 'Delete' }}">