mirror of https://github.com/zulip/zulip.git
settings: Add a class to the target span.
This commit adds a specific class to the target span element, making the code more robust and less reliant on generic selectors. Fixes part of #26691.
This commit is contained in:
parent
d37ebef0c0
commit
9ad85445f8
|
@ -20,7 +20,7 @@
|
||||||
{{/unless}}
|
{{/unless}}
|
||||||
<div class="dialog_submit_button_container">
|
<div class="dialog_submit_button_container">
|
||||||
<button class="modal__btn dialog_submit_button"{{#if single_footer_button}} aria-label="{{t 'Close this dialog window' }}" data-micromodal-close{{/if}}>
|
<button class="modal__btn dialog_submit_button"{{#if single_footer_button}} aria-label="{{t 'Close this dialog window' }}" data-micromodal-close{{/if}}>
|
||||||
<span>{{{ html_submit_button }}}</span>
|
<span class="submit-button-text">{{{ html_submit_button }}}</span>
|
||||||
<div class="modal__spinner"></div>
|
<div class="modal__spinner"></div>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -140,7 +140,7 @@
|
||||||
<div class="save-success"></div>
|
<div class="save-success"></div>
|
||||||
<button type="button" class="modal__btn dialog_exit_button" aria-label="{{t 'Close this dialog window' }}" data-micromodal-close>{{t "Cancel" }}</button>
|
<button type="button" class="modal__btn dialog_exit_button" aria-label="{{t 'Close this dialog window' }}" data-micromodal-close>{{t "Cancel" }}</button>
|
||||||
<button type="button" class="modal__btn dialog_submit_button">
|
<button type="button" class="modal__btn dialog_submit_button">
|
||||||
<span>{{t "Save changes"}}</span>
|
<span class="submit-button-text">{{t "Save changes"}}</span>
|
||||||
<div class="modal__spinner"></div>
|
<div class="modal__spinner"></div>
|
||||||
</button>
|
</button>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
Loading…
Reference in New Issue