Make text-underneath-compose-box all nicely line up together.

(imported from commit d4676d95ccad18f65a29447647581b41d53dfa9a)
This commit is contained in:
Waseem Daher
2013-04-24 17:44:25 -04:00
parent 3bb3bbb1ee
commit ccc5363f3c
3 changed files with 12 additions and 11 deletions

View File

@@ -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&nbsp;
<input type="checkbox" id="enter_sends" name="enter_sends" value="ender_sends" />
</label>
</span>
</div>
</td>
</tr>

View File

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

View File

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