forked from rDrama/rDrama
1
0
Fork 0

Fix layout with both card and catalog view.

master
Snakes 2022-06-21 16:05:00 -04:00
parent 2dd41e6778
commit d5d221e773
2 changed files with 4 additions and 8 deletions

View File

@ -115,7 +115,7 @@
<div class="card-header bg-transparent border-0 d-flex flex-row flex-nowrap pl-2 pl-md-0 p-0 mr-md-2">
{% if not v_forbid_deleted %}
<div style="z-index: 3;">
<div class="card-thumbnail">
{% if p.club and not (v and (v.paid_dues or v.id == p.author_id)) %}
<img alt="post thumnail" loading="lazy" src="/e/marseyglow.webp" class="post-img">
{% elif not p.url %}
@ -335,12 +335,6 @@
{% endif %}
</div>
{% if (not p.club or v and (v.paid_dues or v.id == p.author_id)) and not v_forbid_deleted %}
{% if p.realbody(v) %}
<div class="d-none card rounded border pt-3 pb-2 my-2 {% if p.author.agendaposter %}agendaposter{% endif %}" id="post-text-{{p.id}}">
@ -371,6 +365,8 @@
{% endif %}
{% endif %}
</div>
{% else %}
{% if request.path.endswith('/admin/queue') %}

View File

@ -1,6 +1,6 @@
{%-
set CACHE_VER = {
'css/main.css': 341,
'css/main.css': 342,
'css/4chan.css': 61,
'css/classic.css': 61,