Extend link area

This commit is contained in:
Maria Rushkova 2021-08-09 16:22:03 +02:00 committed by Jakub Sokołowski
parent 8450bf2c70
commit b5b7e7653b
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
1 changed files with 8 additions and 3 deletions

View File

@ -50,6 +50,10 @@ layout: default
<div
class="media__card flex flex-col w-full sl:max-w-48 mb-5 sm:mb-0 group"
>
<a href="{{ mediapost.link }}"
target="_blank" rel="noopener noreferrer"
>
<img
src="{{ mediapost.image }}"
class="w-full mb-2 group-hover:opacity-30"
@ -59,10 +63,11 @@ layout: default
<li class="flex flex-col w-full mb-5 lg:mb-8">
<time class="text-xxs opacity-75"
>{{ mediapost.date | date: '%B %d, %Y' }}</time
><a
href="{{ mediapost.link }}"
><p
class="text-xs lg:text-base font-semibold group-hover:underline"
>{{ mediapost.title }}</a
>{{ mediapost.title }}
</p>
</a
>
</li>
</div>