FIX Refining footer responsiveness
This commit is contained in:
parent
92f5dc72d1
commit
1442f47397
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user