forked from rDrama/rDrama
fix
parent
5a9fef439a
commit
95ee1d9b29
|
@ -597,8 +597,8 @@
|
|||
</div>
|
||||
</div> -->
|
||||
|
||||
<div class="flex justify-between mb-1">
|
||||
<div class="ml-20 text-gray-900 font-bold">
|
||||
<div class="flex justify-between mb-1 px-2.5 md:px-0">
|
||||
<div class="md:ml-20 text-gray-900 font-bold">
|
||||
{{ p.comment_count }} {{ 'Response' if p.comment_count == 1 else 'Responses' }}
|
||||
</div>
|
||||
<ul class="flex space-x-3 text-sm text-gray-500 leading-normal mb-0">
|
||||
|
@ -630,7 +630,7 @@
|
|||
</ul>
|
||||
</div>
|
||||
|
||||
<div id="comment-form-space-{{p.fullname}}" class="comment-write flex">
|
||||
<div id="comment-form-space-{{p.fullname}}" class="comment-write flex px-2.5 md:px-0">
|
||||
<div class="hidden md:block relative flex-shrink-0 mr-4 {{ 'santa' if p.author.patron else 'cap' }}">
|
||||
<img loading="lazy" src="{{v.profile_url}}" class="w-14 h-14 p-[3px] bg-white border border-gray-300 object-cover" alt="my avatar"/>
|
||||
</div>
|
||||
|
@ -638,11 +638,11 @@
|
|||
</div>
|
||||
|
||||
{% if not v and not p.is_banned %}
|
||||
<div class="comment-write mb-3">
|
||||
<div class="comment-write mb-3 px-2.5 md:px-0">
|
||||
<textarea maxlength="10000" class="comment-box rounded-sm border border-gray-700 border-opacity-40 bg-gray-700 bg-opacity-20 focus:bg-opacity-100 focus:bg-white hover:bg-opacity-30 shadow-inner w-full p-2" name="body" aria-label="With textarea" placeholder="Add your comment..." rows="3" onclick="location.href='/login?redirect={{request.path | urlencode}}';"></textarea>
|
||||
</div>
|
||||
{% if p.comment_count >= 2 %}
|
||||
<div class="card border-0 mt-4">
|
||||
<div class="card border-0 mt-4 px-2.5 md:px-0">
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">Jump in the discussion.</h5>
|
||||
<p class="card-text">No email address required.</p>
|
||||
|
@ -656,13 +656,13 @@
|
|||
{% endif %}
|
||||
|
||||
{% if p.replies %}
|
||||
<div class="comment-section {% if p.award_count('upsidedown') %}bg-transparent{% endif %}">
|
||||
<div class="comment-section px-2.5 md:px-0 {% if p.award_count('upsidedown') %}bg-transparent{% endif %}">
|
||||
{% with comments=p.replies %}
|
||||
{% include "comments.html" %}
|
||||
{% endwith %}
|
||||
</div>
|
||||
{% elif not p.replies and p.deleted_utc == 0 %}
|
||||
<div class="comment-section text-center py-7 {% if p.award_count('upsidedown') %}bg-transparent{% endif %}">
|
||||
<div class="comment-section px-2.5 md:px-0 text-center py-7 {% if p.award_count('upsidedown') %}bg-transparent{% endif %}">
|
||||
<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>
|
||||
|
|
Loading…
Reference in New Issue