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,15 +57,17 @@ footer {
}
.credits {
@apply w-full grid gap-x-24 gap-y-12;
display: grid;
column-gap: 100px;
grid-auto-flow: column; /* clé ici */
grid-template-rows: repeat(2, auto);
grid-template-columns: repeat(4, 1fr);
@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 */
> :first-child {
grid-row: span 2;
@screen lg {
/* column-gap: 100px; */
grid-auto-flow: column;
grid-template-rows: repeat(2, auto);
grid-template-columns: repeat(4, 1fr);
> :first-child {
grid-row: span 2;
}
}
}
.socials {
@ -79,7 +81,7 @@ footer {
.social-icon {
@apply w-full h-auto;
max-width: 48px;
width: 48px;
}
}
}