From d8b58505e6922b6433edf3ee9c413e0a4d977816 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Tue, 17 Nov 2020 20:45:29 -0500 Subject: [PATCH] https://github.com/NodeBB/NodeBB/issues/8783 --- less/topics_list.less | 12 ++++++++++++ templates/category.tpl | 8 +------- templates/popular.tpl | 4 +--- templates/recent.tpl | 4 +--- templates/tag.tpl | 4 +--- templates/top.tpl | 4 +--- templates/unread.tpl | 4 +--- 7 files changed, 18 insertions(+), 22 deletions(-) diff --git a/less/topics_list.less b/less/topics_list.less index 2e6e9bc..1121c46 100644 --- a/less/topics_list.less +++ b/less/topics_list.less @@ -1,4 +1,16 @@ #new-topics-alert { margin-bottom: 0px; padding: 10px 16px; +} + +.topic-list-header { + position: sticky; + top: @navbar-height; + background-color: @body-bg; + z-index: @zindex-navbar; + padding-top: 10px; + padding-bottom: 10px; + margin-bottom: 10px; + border-top: 1px solid @post-border-color; + border-bottom: 1px solid @post-border-color; } \ No newline at end of file diff --git a/templates/category.tpl b/templates/category.tpl index 65aa3c9..ee96d13 100644 --- a/templates/category.tpl +++ b/templates/category.tpl @@ -8,9 +8,7 @@
- - -
+
[[category:new_topic_button]] @@ -30,10 +28,6 @@
- - - -
diff --git a/templates/popular.tpl b/templates/popular.tpl index 1375b1a..30279ec 100644 --- a/templates/popular.tpl +++ b/templates/popular.tpl @@ -5,7 +5,7 @@ {{{end}}}