Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

settings: Add a class to the target span.

Maneesh Shukla9ad85445f83c
diff --git a/web/templates/dialog_widget.hbs b/web/templates/dialog_widget.hbs
index f187e92b7dc..ecba618cb47 100644
--- a/web/templates/dialog_widget.hbs
+++ b/web/templates/dialog_widget.hbs
@@ -20,7 +20,7 @@
{{/unless}}
<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}}>
- <span>{{{ html_submit_button }}}</span>
+ <span class="submit-button-text">{{{ html_submit_button }}}</span>
<div class="modal__spinner"></div>
</button>
</div>
diff --git a/web/templates/user_profile_modal.hbs b/web/templates/user_profile_modal.hbs
index 84cb9d77f84..508c5c0a396 100644
--- a/web/templates/user_profile_modal.hbs
+++ b/web/templates/user_profile_modal.hbs
@@ -140,7 +140,7 @@
<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_submit_button">
- <span>{{t "Save changes"}}</span>
+ <span class="submit-button-text">{{t "Save changes"}}</span>
<div class="modal__spinner"></div>
</button>
</footer>