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: Fill all vertical space available.

Aman Agrawal40d8a79ef4ed
diff --git a/static/styles/recent_topics.css b/static/styles/recent_topics.css
index c71956e22fc..356be459cf0 100644
--- a/static/styles/recent_topics.css
+++ b/static/styles/recent_topics.css
@@ -62,9 +62,11 @@
}
.table_fix_head {
- padding: 10px;
- padding-top: 0 !important;
- max-height: 89%;
+ padding: 0 !important;
+ /* 100px = space occupied by `recent_topics_filter_buttons`( ~49px)
+ + give user some extra space at the bottom so that last
+ topic row is clearly visible. */
+ max-height: calc(100vh - 100px);
}
.table_fix_head table {
@@ -72,11 +74,6 @@
border-collapse: separate;
}
- .table_fix_head {
- max-height: 80vh;
- padding-top: 0px !important;
- }
-
#recent_topics_filter_buttons {
margin: 0 10px 0 10px;
display: flex;