diff --git a/static/styles/recent_topics.scss b/static/styles/recent_topics.scss
index 7a27a13352..a06c45d4a4 100644
--- a/static/styles/recent_topics.scss
+++ b/static/styles/recent_topics.scss
@@ -55,7 +55,21 @@
.recent_topics_table {
margin: 0px;
padding: 15px;
- overflow: auto;
+ overflow: hidden !important;
+
+ .tableFixHead {
+ padding: 10px;
+ padding-top: 0px !important;
+ overflow-y: auto;
+ max-height: 100%;
+ }
+ .tableFixHead thead th {
+ position: sticky;
+ top: 0;
+ z-index: 1000;
+ background-color: hsl(0, 0%, 27%);
+ color: hsl(0, 0%, 100%);
+ }
#recent_topics_filter_buttons {
margin: 0 10px 0 10px;
@@ -78,11 +92,6 @@
background-color: hsl(0, 11%, 93%);
}
- thead {
- background-color: hsl(0, 0%, 27%);
- color: hsl(0, 0%, 100%);
- }
-
.recent_topic_unread_count {
text-align: center;
// width is kept less than width of
diff --git a/static/templates/recent_topics_table.hbs b/static/templates/recent_topics_table.hbs
index 510306af2b..218c8ffdc8 100644
--- a/static/templates/recent_topics_table.hbs
+++ b/static/templates/recent_topics_table.hbs
@@ -4,18 +4,20 @@
-
-
-
- | {{t 'Unread' }} |
- {{t 'Stream' }} |
- {{t 'Topic' }} |
- {{t 'Actions' }} |
- {{t 'Participants' }} |
- {{t 'Last message' }} |
-
-
- {{#each recent_topics}}
- {{> recent_topic_row}}
- {{/each}}
-
+
+
+
+
+ | {{t 'Unread' }} |
+ {{t 'Stream' }} |
+ {{t 'Topic' }} |
+ {{t 'Actions' }} |
+ {{t 'Participants' }} |
+ {{t 'Last message' }} |
+
+
+ {{#each recent_topics}}
+ {{> recent_topic_row}}
+ {{/each}}
+
+