diff --git a/static/styles/recent_topics.css b/static/styles/recent_topics.css index c71956e22f..356be459cf 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;