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,17 +1051,19 @@
</script>
{% endif %}
{% elif not p.replies and p.deleted_utc == 0 %}
<div class="comment-section text-center py-7" id="replies-of-{{p.fullname}}">
<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 text-gray-500 fa-ghost fa-stack-1x text-lg"></i>
</span>
<h5>Be the first to comment!</h5>
{% if v %}
<p class="text-muted">This comment section is a ghost town...</p>
{% else %}
<p class="text-muted">This comment section is a ghost town. <a href="/login?redirect={{request.path | urlencode}}">Sign in</a></p>
{% endif %}
<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">
<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>
</span>
<h5>Be the first to comment!</h5>
{% if v %}
<p class="text-muted">This comment section is a ghost town...</p>
{% else %}
<p class="text-muted">This comment section is a ghost town. <a href="/login?redirect={{request.path | urlencode}}">Sign in</a></p>
{% endif %}
</div>
</div>
{% endif %}