mirror of
https://github.com/zulip/zulip.git
synced 2026-07-06 21:18:58 +08:00
account_settings: Change the position of the custom-profile-fields-form.
The custom-profile-fields-form element custom_user_field contains the textarea for Biography that expands. The textarea treats the user-avatar-section as an disturbing obstacle when expanded beyond the certain width. To fix this, the custom-profile-fields-form is placed out from the account-settings-form. Fixes #17617.
This commit is contained in:
parent
3ef6f6e2e2
commit
d9776159f1
@ -142,14 +142,6 @@
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<h3 class="inline-block" id="custom-field-header" {{#unless page_params.custom_profile_fields}}style="display: none"{{/unless}}>{{t "Profile" }}</h3>
|
||||
<form class="form-horizontal custom-profile-fields-form grid"></form>
|
||||
<button class="button rounded sea-green w-200 block" id="show_my_user_profile_modal">
|
||||
{{t 'Preview profile' }}
|
||||
<i class="fa fa-external-link" aria-hidden="true" title="{{t 'Preview profile' }}"></i>
|
||||
</button>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="inline-block user-avatar-section">
|
||||
@ -166,6 +158,13 @@
|
||||
</div>
|
||||
<div class="clear-float"></div>
|
||||
|
||||
<h3 class="inline-block" id="custom-field-header" {{#unless page_params.custom_profile_fields}}style="display: none"{{/unless}}>{{t "Profile" }}</h3>
|
||||
<form class="form-horizontal custom-profile-fields-form grid"></form>
|
||||
<button class="button rounded sea-green w-200 block" id="show_my_user_profile_modal">
|
||||
{{t 'Preview profile' }}
|
||||
<i class="fa fa-external-link" aria-hidden="true" title="{{t 'Preview profile' }}"></i>
|
||||
</button>
|
||||
|
||||
<div id="deactivate_self_modal" class="modal modal-bg hide fade" tabindex="-1" role="dialog" aria-labelledby="deactivation_self_modal_label" aria-hidden="true">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="{{t 'Close' }}"><span aria-hidden="true">×</span></button>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user