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_header: Fix stale inline display style on unresolve indicator.

Aman Agrawalf2f804b78cdc
diff --git a/web/src/message_list.ts b/web/src/message_list.ts
index 389e781f525..c22f2fb0f37 100644
--- a/web/src/message_list.ts
+++ b/web/src/message_list.ts
@@ -554,14 +554,14 @@ export class MessageList {
$recipient_row.find(".topic_edit").append($form);
$recipient_row.find(".stream_topic").hide();
$recipient_row.find(".topic_edit").show();
- $recipient_row.find(".recipient-bar-control").hide();
+ $recipient_row.find(".recipient_bar_controls").addClass("topic-edit-mode");
}
hide_edit_topic_on_recipient_row($recipient_row: JQuery): void {
$recipient_row.find(".stream_topic").show();
$recipient_row.find(".topic_edit").empty();
$recipient_row.find(".topic_edit").hide();
- $recipient_row.find(".recipient-bar-control").show();
+ $recipient_row.find(".recipient_bar_controls").removeClass("topic-edit-mode");
}
reselect_selected_id(): void {
diff --git a/web/styles/message_header.css b/web/styles/message_header.css
index 43fe968d8f4..aecf09d8a56 100644
--- a/web/styles/message_header.css
+++ b/web/styles/message_header.css
@@ -281,6 +281,10 @@
display: flex;
flex-grow: 1;
align-items: center;
+
+ &.topic-edit-mode .recipient-bar-control {
+ display: none;
+ }
}
.on_hover_topic_read {