Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
compose: Change style of `Press Enter to send` checkbox.
SiddharthVarshneya179648f0b4b
diff --git a/static/styles/compose.scss b/static/styles/compose.scssindex b88c7e2ea19..139f7d966ab 100644--- a/static/styles/compose.scss+++ b/static/styles/compose.scss@@ -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 {diff --git a/templates/zerver/app/compose.html b/templates/zerver/app/compose.htmlindex 801778ff2f0..8f0a6156cd1 100644--- a/templates/zerver/app/compose.html+++ b/templates/zerver/app/compose.html@@ -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>