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> </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}}">
<span class="fa-stack fa-2x text-muted mb-4"> <div class="text-center py-7">
<i class="fas fa-square text-gray-500 opacity-25 fa-stack-2x"></i> <span class="fa-stack fa-2x text-muted mb-4">
<i class="fas text-gray-500 fa-ghost fa-stack-1x text-lg"></i> <i class="fas fa-square text-gray-500 opacity-25 fa-stack-2x"></i>
</span> <i class="fas text-gray-500 fa-ghost fa-stack-1x text-lg"></i>
<h5>Be the first to comment!</h5> </span>
{% if v %} <h5>Be the first to comment!</h5>
<p class="text-muted">This comment section is a ghost town...</p> {% if v %}
{% else %} <p class="text-muted">This comment section is a ghost town...</p>
<p class="text-muted">This comment section is a ghost town. <a href="/login?redirect={{request.path | urlencode}}">Sign in</a></p> {% else %}
{% endif %} <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> </div>
{% endif %} {% endif %}