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:
SiddharthVarshney
2020-07-06 06:26:23 +05:30
committed by Tim Abbott
parent b350c6ffb7
commit a179648f0b
2 changed files with 4 additions and 7 deletions

View File

@@ -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 {

View File

@@ -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>