Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

message_row: Remove styles and JS for nonexistant .sender-status.

Karl Stolley272b62138ede
diff --git a/web/src/message_list.js b/web/src/message_list.js
index 2345ea9988d..6274ac55d17 100644
--- a/web/src/message_list.js
+++ b/web/src/message_list.js
@@ -388,7 +388,6 @@ export class MessageList {
}
$row.find(".message_edit_form").append(edit_obj.$form);
$row.find(".message_content, .status-message, .message_controls").hide();
- $row.find(".sender-status").toggleClass("sender-status-edit");
$row.find(".messagebox-content").addClass("content_edit_mode");
$row.find(".message_edit").css("display", "block");
autosize($row.find(".message_edit_content"));
@@ -396,7 +395,6 @@ export class MessageList {
hide_edit_message($row) {
$row.find(".message_content, .status-message, .message_controls").show();
- $row.find(".sender-status").toggleClass("sender-status-edit");
$row.find(".message_edit_form").empty();
$row.find(".messagebox-content").removeClass("content_edit_mode");
$row.find(".message_edit").hide();
diff --git a/web/styles/zulip.css b/web/styles/zulip.css
index c4a9738d6b3..777c6ca6855 100644
--- a/web/styles/zulip.css
+++ b/web/styles/zulip.css
@@ -1586,34 +1586,6 @@ td.pointer {
transition: all 3s ease-in-out;
}
-.sender-status {
- display: inline-block;
- margin: 8px 0 8px -3px;
- /* this normalizes the margin of the emoji reactions with normal messages. */
- padding-bottom: 5px;
- vertical-align: middle;
-
- position: relative;
- max-width: calc(100% - 50px);
-
- .message_edit_notice {
- vertical-align: middle;
- }
-
- &.sender-status-edit {
- /* Hackery to place the textarea for the message edit form nicely
- for /me messages. */
-
- vertical-align: top;
- line-height: 0;
- margin-top: 4px !important;
-
- .message_edit_notice {
- line-height: 0;
- }
- }
-}
-
.messagebox-content .message_time {
display: block;
font-size: 13px;