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.

recent_topics: Hide participants and last msg time on <750px width.

Aman Agrawal71cae3370c00
diff --git a/static/styles/recent_topics.scss b/static/styles/recent_topics.scss
index 8ac72202227..6e749e47396 100644
--- a/static/styles/recent_topics.scss
+++ b/static/styles/recent_topics.scss
@@ -280,5 +280,20 @@
thead .last_msg_time_header {
white-space: nowrap;
}
+
+ @media (max-width: 750px) {
+ // Hide participants and last message time
+ // on smaller screens. This ensures user always
+ // has a nice UI experience.
+ .recent_topic_users,
+ .recent_topic_timestamp,
+ thead .participants_header,
+ thead .last_msg_time_header {
+ display: none;
+ }
+ table td {
+ line-height: 2em;
+ }
+ }
}
}