mirror of
https://github.com/zulip/zulip.git
synced 2025-11-07 23:43:43 +00:00
Make text-underneath-compose-box all nicely line up together.
(imported from commit d4676d95ccad18f65a29447647581b41d53dfa9a)
This commit is contained in:
@@ -49,15 +49,13 @@
|
||||
</div>
|
||||
</div>
|
||||
<div id="below-compose-content">
|
||||
<input type="file" id="file_input" class="notvisible" multiple />
|
||||
<input type="file" id="file_input" class="notvisible pull-left" multiple />
|
||||
<a class="message-control-button icon-vector-paper-clip notdisplayed" id="attach_files" href="#" title="Attach files"></a>
|
||||
<span id="restore-draft" onclick="compose.restore_message();">Restore last draft?</span>
|
||||
<span id="tab-enter-message">
|
||||
<a id="restore-draft" onclick="compose.restore_message();">Restore last draft?</a>
|
||||
<span id="sending-indicator">Sending...</span>
|
||||
<label class="pull-right inline">Press Enter to send
|
||||
<input type="checkbox" id="enter_sends" name="enter_sends" value="ender_sends" />
|
||||
</label>
|
||||
</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -204,7 +204,7 @@ exports.start = function (msg_type, opts) {
|
||||
}
|
||||
|
||||
if (message_snapshot !== undefined) {
|
||||
$('#restore-draft').css('visibility', 'visible');
|
||||
$('#restore-draft').show();
|
||||
}
|
||||
|
||||
if (opts.replying_to_message !== undefined) {
|
||||
@@ -266,7 +266,7 @@ exports.snapshot_message = function(message) {
|
||||
};
|
||||
|
||||
function clear_message_snapshot() {
|
||||
$("#restore-draft").css("visibility", "hidden");
|
||||
$("#restore-draft").hide();
|
||||
message_snapshot = undefined;
|
||||
}
|
||||
|
||||
|
||||
@@ -1158,7 +1158,9 @@ li.expanded_subject {
|
||||
}
|
||||
|
||||
#restore-draft {
|
||||
visibility: hidden;
|
||||
float: left;
|
||||
display: none;
|
||||
margin-right: 1em;
|
||||
}
|
||||
|
||||
#restore-draft:hover {
|
||||
@@ -1175,6 +1177,7 @@ li.expanded_subject {
|
||||
margin-right: 5px;
|
||||
border-radius: 2px;
|
||||
text-align: center;
|
||||
float: left;
|
||||
}
|
||||
|
||||
#compose a.message-control-button:hover {
|
||||
|
||||
Reference in New Issue
Block a user