forked from rDrama/rDrama
fix
parent
3b2ce2554b
commit
5a9fef439a
|
@ -288,11 +288,11 @@
|
||||||
<span class="comment-collapse-desktop hidden d-md-block" {% if not c.unread %}style="border-left: 2px solid #{{c.author.namecolor}};"{% endif %} onclick="collapse_comment('{{c.id}}')"></span>
|
<span class="comment-collapse-desktop hidden d-md-block" {% if not c.unread %}style="border-left: 2px solid #{{c.author.namecolor}};"{% endif %} onclick="collapse_comment('{{c.id}}')"></span>
|
||||||
|
|
||||||
<div class="flex flex-col flex-shrink-0 items-center {{ 'mr-4' if not c.parent_comment_id or standalone else 'mr-3' }}">
|
<div class="flex flex-col flex-shrink-0 items-center {{ 'mr-4' if not c.parent_comment_id or standalone else 'mr-3' }}">
|
||||||
<div class="relative avatar">
|
<div class="relative {{ 'santa' if c.author.patron else 'cap' }}">
|
||||||
{% if standalone or level==1 %}
|
{% if standalone or level==1 %}
|
||||||
<img loading="lazy" src="{{ c.author.profile_url }}" class="hidden md:block flex-shrink-0 w-14 h-14 mb-2 p-[3px] bg-white border border-gray-300 object-cover {{ 'santa' if c.author.patron else 'cap' }}" alt="{{ c.author.username }} avatar"/>
|
<img loading="lazy" src="{{ c.author.profile_url }}" class="hidden md:block flex-shrink-0 w-14 h-14 mb-2 p-[3px] bg-white border border-gray-300 object-cover" alt="{{ c.author.username }} avatar"/>
|
||||||
{% else %}
|
{% else %}
|
||||||
<img loading="lazy" src="{{ c.author.profile_url }}" class="hidden md:block flex-shrink-0 w-9 h-9 mb-2 p-[3px] bg-white border border-gray-300 object-cover {{ 'santa' if c.author.patron else 'cap' }}" alt="{{ c.author.username }} avatar"/>
|
<img loading="lazy" src="{{ c.author.profile_url }}" class="hidden md:block flex-shrink-0 w-9 h-9 mb-2 p-[3px] bg-white border border-gray-300 object-cover" alt="{{ c.author.username }} avatar"/>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
<button onclick="collapse_comment('{{c.id}}')" class="ml-4 mb-2 w-4 h-full border-l border-gray-400"></button>
|
<button onclick="collapse_comment('{{c.id}}')" class="ml-4 mb-2 w-4 h-full border-l border-gray-400"></button>
|
||||||
|
@ -319,8 +319,8 @@
|
||||||
{% else %}
|
{% else %}
|
||||||
<div class="flex items-center space-x-2 md:-ml-2 mb-1 text-sm text-gray-500 leading-normal">
|
<div class="flex items-center space-x-2 md:-ml-2 mb-1 text-sm text-gray-500 leading-normal">
|
||||||
|
|
||||||
<div class="relative avatar md:hidden">
|
<div class="relative md:hidden {{ 'santa' if c.author.patron else 'cap' }}">
|
||||||
<img loading="lazy" src="{{ c.author.profile_url }}" class="w-9 h-9 p-[3px] bg-white border border-gray-300 object-cover {{ 'santa' if c.author.patron else 'cap' }}" alt="{{ c.author.username }} avatar"/>
|
<img loading="lazy" src="{{ c.author.profile_url }}" class="w-9 h-9 p-[3px] bg-white border border-gray-300 object-cover" alt="{{ c.author.username }} avatar"/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<a class="text-sm font-bold" data-bs-placement="bottom" data-bs-toggle="popover" data-bs-trigger="focus" data-content-id="popover-{{c.id}}" tabindex="0" style="color:#{{c.author.namecolor}};">
|
<a class="text-sm font-bold" data-bs-placement="bottom" data-bs-toggle="popover" data-bs-trigger="focus" data-content-id="popover-{{c.id}}" tabindex="0" style="color:#{{c.author.namecolor}};">
|
||||||
|
|
Loading…
Reference in New Issue