mirror of https://github.com/zulip/zulip.git
Reminder of tab-enter to send.
I'd like to phase this out in favor of something you actually see only when you don't use Tab-Enter, but that's more challenging than I'm prepared to tackle right this second. (imported from commit eeda53b0ed69d0e528b00ea9e7c7a20edb35df34)
This commit is contained in:
parent
b464896fda
commit
7e9242c796
|
@ -104,6 +104,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div tabindex="151" onfocus="ui.safari_composebox_workaround();"></div>
|
<div tabindex="151" onfocus="ui.safari_composebox_workaround();"></div>
|
||||||
</div>
|
</div>
|
||||||
|
<div id="tab-enter-message">(Send with Tab, then Enter)</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|
|
@ -273,7 +273,9 @@ blockquote p {
|
||||||
}
|
}
|
||||||
|
|
||||||
#send_message_form .messagebox {
|
#send_message_form .messagebox {
|
||||||
padding-right: 5px; /* normally 5px 14px; pull in the right a bit */
|
/* normally 5px 14px; pull in the right and bottom a bit */
|
||||||
|
padding-right: 5px;
|
||||||
|
padding-bottom: 0px;
|
||||||
cursor: default;
|
cursor: default;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -282,6 +284,13 @@ blockquote p {
|
||||||
margin-right: 0px;
|
margin-right: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#tab-enter-message {
|
||||||
|
display: table-row;
|
||||||
|
font-size: 80%;
|
||||||
|
white-space: nowrap;
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
|
||||||
.messagebox p {
|
.messagebox p {
|
||||||
margin-bottom: 5px;
|
margin-bottom: 5px;
|
||||||
}
|
}
|
||||||
|
@ -391,6 +400,7 @@ textarea.new_message_textarea {
|
||||||
width: 99%;
|
width: 99%;
|
||||||
min-height: 40px;
|
min-height: 40px;
|
||||||
max-height: 150px;
|
max-height: 150px;
|
||||||
|
margin-bottom: 0px;
|
||||||
resize: none;
|
resize: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -413,7 +423,6 @@ input.recipient_box {
|
||||||
display: table-cell;
|
display: table-cell;
|
||||||
vertical-align: bottom;
|
vertical-align: bottom;
|
||||||
padding-left: 21px;
|
padding-left: 21px;
|
||||||
padding-bottom: 9px;
|
|
||||||
/* jQuery's slideDown() animation seems to compute the target height by
|
/* jQuery's slideDown() animation seems to compute the target height by
|
||||||
drawing these elements in an (offscreen) context where they would reflow
|
drawing these elements in an (offscreen) context where they would reflow
|
||||||
onto multiple lines. We need to prevent that in order to avoid an
|
onto multiple lines. We need to prevent that in order to avoid an
|
||||||
|
|
Loading…
Reference in New Issue