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.

muted_users: Introduce container queries to hide hidden-message notice.

apoorvapendse884faf30afa5
diff --git a/web/styles/message_row.css b/web/styles/message_row.css
index 72879263f01..3e76236a08e 100644
--- a/web/styles/message_row.css
+++ b/web/styles/message_row.css
@@ -1213,3 +1213,18 @@
right: 0.25em;
margin-left: -50%;
}
+
+@container message-lists (width < $cq_ml_min) {
+ .muted-message-notice {
+ display: none;
+ }
+}
+
+/* Fallback for hiding the muted message notice. */
+@media (width < $ml_min) {
+ .without-container-query-support {
+ .muted-message-notice {
+ display: none;
+ }
+ }
+}