mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	confirm_dialog: Change the style and position of error message element.
This commit changes the error message element of confirm_dialog to be above the text of dialog and to be a nice box using already defined "alert" class.
This commit is contained in:
		@@ -87,7 +87,7 @@ export function launch(conf) {
 | 
			
		||||
            link: conf.help_link,
 | 
			
		||||
        }),
 | 
			
		||||
    );
 | 
			
		||||
    confirm_dialog.find(".confirm_dialog_body").prepend(conf.html_body);
 | 
			
		||||
    confirm_dialog.find(".confirm_dialog_body").append(conf.html_body);
 | 
			
		||||
 | 
			
		||||
    const yes_button_span = confirm_dialog.find(".confirm_dialog_yes_button span");
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -4,7 +4,7 @@
 | 
			
		||||
        <div class="confirm_dialog_heading"></div>
 | 
			
		||||
    </div>
 | 
			
		||||
    <div class="modal-body confirm_dialog_body">
 | 
			
		||||
        <div id="confirm_dialog_error"></div>
 | 
			
		||||
        <div id="confirm_dialog_error" class="alert"></div>
 | 
			
		||||
    </div>
 | 
			
		||||
    <div class="modal-footer">
 | 
			
		||||
        <button class="button rounded close-modal-btn" data-dismiss="modal">{{t "Cancel" }}</button>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user