api_key_modal: Place the error element at the top of the modal.

This is consistent with other modal behaviour.
This commit is contained in:
Ganesh Pawar 2021-11-24 11:35:47 +05:30 committed by Tim Abbott
parent 79bdd8bdb6
commit 84ed22d59a
2 changed files with 2 additions and 2 deletions

View File

@ -994,7 +994,7 @@ input[type="checkbox"] {
}
#api_key_status {
margin: 0;
margin: 0 0 10px;
}
#download_zuliprc {

View File

@ -9,6 +9,7 @@
</header>
<main class="modal__content">
<div id="password_confirmation">
<span class="alert-notification" id="api_key_status"></span>
<div id="api_key_form">
<p>{{t "Please re-enter your password to confirm your identity." }}
<a href="/accounts/password/reset/" target="_blank" rel="noopener noreferrer">
@ -21,7 +22,6 @@
<i class="fa fa-eye-slash password_visibility_toggle tippy-zulip-tooltip" role="button"></i>
</div>
</div>
<span class="alert-notification" id="api_key_status"></span>
</div>
<div id="show_api_key">
<p>{{t "Your API key:" }}</p>