From 98de6fcdb0de38886fe754e5ee688689370792f2 Mon Sep 17 00:00:00 2001 From: Sanasol Date: Thu, 22 Mar 2018 11:49:06 +0300 Subject: [PATCH] comments anchor position --- apps/course/templates/course/blocks/comment.html | 3 ++- web/src/sass/_common.sass | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/apps/course/templates/course/blocks/comment.html b/apps/course/templates/course/blocks/comment.html index 463536af..497c398d 100644 --- a/apps/course/templates/course/blocks/comment.html +++ b/apps/course/templates/course/blocks/comment.html @@ -1,6 +1,7 @@ {% load static %} {% if not node.deactivated_at %} -
+ +
{% if node.author.photo %}
diff --git a/web/src/sass/_common.sass b/web/src/sass/_common.sass index 66166011..e1279091 100755 --- a/web/src/sass/_common.sass +++ b/web/src/sass/_common.sass @@ -2488,6 +2488,11 @@ a.grey-link width: 100% .questions + &__anchor + display: block; + position: relative; + top: -110px; + visibility: hidden; &__form, &__item display: flex