fix first comment on a post being centered with huge padding

master
Aevann1 2022-11-01 01:12:28 +02:00
parent b17ea4fd37
commit f4542db86f
1 changed files with 13 additions and 11 deletions

View File

@ -1051,7 +1051,8 @@
</script> </script>
{% endif %} {% endif %}
{% elif not p.replies and p.deleted_utc == 0 %} {% elif not p.replies and p.deleted_utc == 0 %}
<div class="comment-section text-center py-7" id="replies-of-{{p.fullname}}"> <div class="comment-section" id="replies-of-{{p.fullname}}">
<div class="text-center py-7">
<span class="fa-stack fa-2x text-muted mb-4"> <span class="fa-stack fa-2x text-muted mb-4">
<i class="fas fa-square text-gray-500 opacity-25 fa-stack-2x"></i> <i class="fas fa-square text-gray-500 opacity-25 fa-stack-2x"></i>
<i class="fas text-gray-500 fa-ghost fa-stack-1x text-lg"></i> <i class="fas text-gray-500 fa-ghost fa-stack-1x text-lg"></i>
@ -1063,6 +1064,7 @@
<p class="text-muted">This comment section is a ghost town. <a href="/login?redirect={{request.path | urlencode}}">Sign in</a></p> <p class="text-muted">This comment section is a ghost town. <a href="/login?redirect={{request.path | urlencode}}">Sign in</a></p>
{% endif %} {% endif %}
</div> </div>
</div>
{% endif %} {% endif %}
</div> </div>