Change post max-width

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

View File

@ -35,21 +35,19 @@ layout: default
Media Media
</h1> </h1>
<div <div
class="media__cards container mx-auto flex flex-col flex-wrap sm:flex-row" class="
media__cards
container
mx-auto
lg:mx-0
flex flex-col flex-wrap
sm:flex-row
lg:max-w-4xl
sl:justify-between
"
> >
{% for mediapost in site.data.media %} {% for mediapost in site.data.media %}
<div <div class="media__card flex flex-col w-full sl:max-w-48 mb-5 sm:mb-0">
class="
media__card
flex flex-col
w-full
sl:w-1/2
xl:max-w-screen-xscard
sl:mr-5
mb-5
sm:mb-0
"
>
<img <img
src="{{ mediapost.image }}" src="{{ mediapost.image }}"
class="w-full mb-2" class="w-full mb-2"