RESPONSIVE FIX flex content

This commit is contained in:
Antoine M 2025-09-03 12:22:45 +02:00
parent 79dc04ed50
commit e752b6d0a5

View File

@ -1,5 +1,5 @@
.chapter-section { .chapter-section {
@apply relative flex items-center justify-between gap-8 2xl:gap-12 !my-0; @apply relative lg:flex items-center justify-between gap-8 2xl:gap-12 !my-0;
@apply py-32 xl:py-32 2xl:py-48 px-32; @apply py-32 xl:py-32 2xl:py-48 px-32;
@apply max-w-screen-2xl mx-auto; @apply max-w-screen-2xl mx-auto;
@ -91,7 +91,7 @@
&__background { &__background {
@apply absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 h-full; @apply absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 h-full;
z-index: 1; z-index: -1;
width: calc(100% - 30px); width: calc(100% - 30px);
&--right { &--right {