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_edit: Hide length controller when editing.

Karl Stolleyce7f5ba7853f
diff --git a/web/styles/message_row.css b/web/styles/message_row.css
index ce8598c95c7..f3b16969e9e 100644
--- a/web/styles/message_row.css
+++ b/web/styles/message_row.css
@@ -246,6 +246,15 @@ $time_column_min_width: 50px; /* + padding */
.message_length_controller {
grid-area: more;
}
+
+ &.content_edit_mode .message_length_controller {
+ /* If entering edit mode on a collapsed message,
+ just hide the controller area. This preserves
+ the collapsed state of the message, which need
+ not be touched. We just need to hide the button.
+ This works for condensed messages, too. */
+ display: none;
+ }
}
&.include-sender {