mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	compose: Change style of Press Enter to send checkbox.
				
					
				
			This checkbox style will now be more consistent with checkboxes used in settings modal.
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							b350c6ffb7
						
					
				
				
					commit
					a179648f0b
				
			@@ -87,10 +87,6 @@
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    .compose_checkbox_label {
 | 
			
		||||
        display: inline-block;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    .pm_recipient {
 | 
			
		||||
        margin-left: 5px;
 | 
			
		||||
        margin-right: 20px;
 | 
			
		||||
@@ -366,7 +362,7 @@ input.recipient_box {
 | 
			
		||||
 | 
			
		||||
    .compose_checkbox_label {
 | 
			
		||||
        color: hsl(0, 0%, 67%);
 | 
			
		||||
        margin-right: 2px;
 | 
			
		||||
        margin: 4px;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    #compose-send-button {
 | 
			
		||||
 
 | 
			
		||||
@@ -106,8 +106,9 @@
 | 
			
		||||
                                    <a class="drafts-link" href="#drafts" title="{{ _('Drafts') }} (d)">{{ _('Drafts') }}</a>
 | 
			
		||||
                                    <span id="sending-indicator"></span>
 | 
			
		||||
                                    <div id="send_controls" class="new-style">
 | 
			
		||||
                                        <label id="enter-sends-label" class="compose_checkbox_label">
 | 
			
		||||
                                            <input type="checkbox" id="enter_sends" />{{ _('Press Enter to send') }}
 | 
			
		||||
                                        <label id="enter-sends-label" class="compose_checkbox_label checkbox">
 | 
			
		||||
                                            <input type="checkbox" id="enter_sends" />
 | 
			
		||||
                                            <span></span>{{ _('Press Enter to send') }}
 | 
			
		||||
                                        </label>
 | 
			
		||||
                                        <button type="submit" id="compose-send-button" class="button small send_message" tabindex="150" title="{{ _('Send') }} (Ctrl + Enter)">{{ _('Send') }}</button>
 | 
			
		||||
                                    </div>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user