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: Remove top and bottom borders.

Aman Agrawalad011272fecf
diff --git a/static/js/recent_topics.js b/static/js/recent_topics.js
index 898b379f86b..a3f663805e8 100644
--- a/static/js/recent_topics.js
+++ b/static/js/recent_topics.js
@@ -446,6 +446,8 @@ exports.show = function () {
// a messages narrow. We hide it and show recent topics.
$("#message_feed_container").hide();
$("#recent_topics_view").show();
+ $("#message_view_header_underpadding").hide();
+ $(".header").css("padding-bottom", "0px");
// Save text in compose box if open.
drafts.update_draft();
@@ -476,6 +478,9 @@ exports.hide = function () {
// focused element.
$("#recent_topics_search").blur();
+ $("#message_view_header_underpadding").show();
+ $(".header").css("padding-bottom", "10px");
+
// This solves a bug with message_view_header
// being broken sometimes when we narrow
// to a filter and back to recent topics
diff --git a/static/styles/night_mode.css b/static/styles/night_mode.css
index 5a55d591a01..08ad6af902e 100644
--- a/static/styles/night_mode.css
+++ b/static/styles/night_mode.css
@@ -468,7 +468,7 @@ on a dark background, and don't change the dark labels dark either. */
}
#recent_topics_table {
- border: 1px solid hsla(0, 0%, 0%, 0.6);
+ border-color: hsla(0, 0%, 0%, 0.6);
}
thead,
diff --git a/static/styles/recent_topics.css b/static/styles/recent_topics.css
index 42b07ee9e47..c71956e22fc 100644
--- a/static/styles/recent_topics.css
+++ b/static/styles/recent_topics.css
@@ -13,9 +13,11 @@
overflow: hidden !important;
display: flex;
flex-direction: column;
- border: 1px solid hsl(0, 0%, 88%);
- border-radius: 10px 10px 0 0;
- margin-top: 50px;
+ border-style: solid;
+ border-color: hsl(0, 0%, 88%);
+ border-width: 0 1px;
+ border-radius: 0;
+ margin-top: 40px;
td {
vertical-align: middle;