RESPONSIVE FIX
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Antoine M 2025-10-15 16:37:41 +02:00
parent c9366168a7
commit 080c5244d5
3 changed files with 17 additions and 2 deletions

View File

@ -1,4 +1,5 @@
.card-grid {
@apply px-4 md:px-0;
&--columns-2 .card-grid__innerblocks {
@apply md:grid-cols-2;
/* grid-template-columns: repeat(2, 1fr); */

View File

@ -57,7 +57,10 @@
@apply object-contain relative;
min-width: 0;
flex-shrink: 1;
max-width: 100%; /* Empêche de dépasser son conteneur */
max-width: calc(100% - 2rem);
@screen md {
max-width: 100%;
}
display: block;
&--large {
@ -82,6 +85,11 @@
filter: saturate(0);
transition: all 0.3s ease;
/* max-width: calc(100% - 2rem);
@screen md {
max-width: 100%;
} */
&:hover {
filter: saturate(1);
scale: 1.01;
@ -92,7 +100,10 @@
&__background {
@apply absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 h-full;
z-index: 0;
@apply w-full;
@screen md {
width: calc(100% - 30px);
}
&--right {
transform: scaleX(-1);

View File

@ -45,6 +45,9 @@ article > *:not(.entry-content),
}
.site-content {
> .carhop-heading {
@apply px-4 md:px-0;
}
p,
li {
strong {