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 tabindex="151" onfocus="ui.safari_composebox_workaround();"></div>
|
||||
</div>
|
||||
<div id="tab-enter-message">(Send with Tab, then Enter)</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
|
|
@ -273,7 +273,9 @@ blockquote p {
|
|||
}
|
||||
|
||||
#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;
|
||||
}
|
||||
|
||||
|
@ -282,6 +284,13 @@ blockquote p {
|
|||
margin-right: 0px;
|
||||
}
|
||||
|
||||
#tab-enter-message {
|
||||
display: table-row;
|
||||
font-size: 80%;
|
||||
white-space: nowrap;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.messagebox p {
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
@ -391,6 +400,7 @@ textarea.new_message_textarea {
|
|||
width: 99%;
|
||||
min-height: 40px;
|
||||
max-height: 150px;
|
||||
margin-bottom: 0px;
|
||||
resize: none;
|
||||
}
|
||||
|
||||
|
@ -413,7 +423,6 @@ input.recipient_box {
|
|||
display: table-cell;
|
||||
vertical-align: bottom;
|
||||
padding-left: 21px;
|
||||
padding-bottom: 9px;
|
||||
/* jQuery's slideDown() animation seems to compute the target height by
|
||||
drawing these elements in an (offscreen) context where they would reflow
|
||||
onto multiple lines. We need to prevent that in order to avoid an
|
||||
|
|
Loading…
Reference in New Issue