FIX Refining footer responsiveness

This commit is contained in:
Antoine M 2025-06-20 09:27:28 +02:00
parent 92f5dc72d1
commit 1442f47397

View File

@ -57,10 +57,11 @@ footer {
} }
.credits { .credits {
@apply w-full grid gap-x-24 gap-y-12; @apply w-full grid gap-y-12 gap-x-8 lg:gap-x-12 grid-cols-1 md:grid-cols-2; /* Mobile-first: 1 column */
display: grid;
column-gap: 100px; @screen lg {
grid-auto-flow: column; /* clé ici */ /* column-gap: 100px; */
grid-auto-flow: column;
grid-template-rows: repeat(2, auto); grid-template-rows: repeat(2, auto);
grid-template-columns: repeat(4, 1fr); grid-template-columns: repeat(4, 1fr);
@ -68,6 +69,7 @@ footer {
grid-row: span 2; grid-row: span 2;
} }
} }
}
.socials { .socials {
a { a {
@apply block; @apply block;
@ -79,7 +81,7 @@ footer {
.social-icon { .social-icon {
@apply w-full h-auto; @apply w-full h-auto;
max-width: 48px; width: 48px;
} }
} }
} }