recent_topics: Fill all vertical space available.

This commit is contained in:
Aman Agrawal 2020-08-06 12:05:18 +05:30 committed by Tim Abbott
parent ad011272fe
commit 40d8a79ef4

View File

@ -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;