Skip to content

Commit

Permalink
Fix styles on _article_ref (#166)
Browse files Browse the repository at this point in the history
This change fixes the issue for the following pages:
- Author
- Topic

Close #165
  • Loading branch information
kiyov09 committed Feb 9, 2023
1 parent c7ed33e commit e64a501
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/_article_ref.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<img class="zine-thumbnail w-28 h-18 sm:w-40 sm:h-28 object-cover" src="{{ article.cover }}"
alt="{{ article.title }}" loading="lazy">
<div class="flex flex-col justify-between ml-4 sm:ml-8 text-base sm:text-lg text-black grow">
<div class="zine-card-title py-2 font-bold line-clamp-2">{{ article.title }}</div>
<div class="zine-card-title my-2 font-bold line-clamp-2">{{ article.title }}</div>
<div class="relative text-base text-gray-500 flex justify-between items-center">
<span class="zine-card-date">{{ article.pub_date }}</span>
<span
Expand All @@ -27,4 +27,4 @@
<hr>
{% endif -%}
{% endfor -%}
</div>
</div>

0 comments on commit e64a501

Please sign in to comment.