From fbd3f6ee97a8c687d51ab9b65a95ff372cb4dcfb Mon Sep 17 00:00:00 2001 From: barisusakli Date: Mon, 31 Oct 2016 11:20:26 +0300 Subject: [PATCH] change css so it works for nested posts --- less/topic.less | 2 +- templates/partials/topic/post.tpl | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/less/topic.less b/less/topic.less index 7f6397c..cd93a5b 100644 --- a/less/topic.less +++ b/less/topic.less @@ -285,7 +285,7 @@ list-style-type: none; padding: 0; - > li { + [component="post"] { position: relative; .edit-icon { diff --git a/templates/partials/topic/post.tpl b/templates/partials/topic/post.tpl index ad932d5..55b72ad 100644 --- a/templates/partials/topic/post.tpl +++ b/templates/partials/topic/post.tpl @@ -84,12 +84,14 @@ + [[topic:replies_to_this_post, {posts.replies}]] +