diff --git a/prediqo_web/src/features/landing/components/LandingOffersCarousel.tsx b/prediqo_web/src/features/landing/components/LandingOffersCarousel.tsx index 5acddb0c..abc1ea75 100644 --- a/prediqo_web/src/features/landing/components/LandingOffersCarousel.tsx +++ b/prediqo_web/src/features/landing/components/LandingOffersCarousel.tsx @@ -94,7 +94,7 @@ export function LandingOffersCarousel({ ads, loading }: LandingOffersCarouselPro className="tl-offers-carousel__stage" style={{ background: slideBackground(ad), borderColor: `${accent}55` }} > -
{t('landing.offers.kicker')}
{ad.subtitle}
} diff --git a/prediqo_web/src/features/landing/landing.css b/prediqo_web/src/features/landing/landing.css index 649a927d..d06c7fe5 100644 --- a/prediqo_web/src/features/landing/landing.css +++ b/prediqo_web/src/features/landing/landing.css @@ -419,7 +419,7 @@ .tl-offers-carousel__stage { position: relative; overflow: hidden; - min-height: clamp(220px, 32vh, 340px); + min-height: 0; border-radius: 28px; border: 1px solid var(--tl-line); background-size: cover; @@ -433,10 +433,12 @@ z-index: 2; display: grid; gap: 0.85rem; - align-content: end; - min-height: clamp(220px, 32vh, 340px); - padding-block: clamp(1.75rem, 4vw, 2.75rem); - padding-inline: 0; + align-content: start; + min-height: 0; + width: 100%; + max-width: none; + box-sizing: border-box; + padding: clamp(1.25rem, 3.5vw, 2.25rem) clamp(1.15rem, 3.5vw, 2rem); } .tl-offers-carousel__cta { @@ -529,8 +531,15 @@ display: inline-flex; } + .tl-offers-carousel__stage { + min-height: clamp(240px, 28vh, 320px); + } + .tl-offers-carousel__copy { max-width: 36rem; + min-height: clamp(240px, 28vh, 320px); + align-content: end; + padding: clamp(1.75rem, 3vw, 2.75rem) clamp(1.75rem, 3vw, 2.5rem); } } @@ -1210,13 +1219,12 @@ } .tl-offers-carousel__stage { - border-radius: 22px; - min-height: clamp(200px, 36vh, 280px); + border-radius: 20px; } .tl-offers-carousel__copy { - min-height: clamp(200px, 36vh, 280px); - gap: 0.7rem; + gap: 0.65rem; + padding: 1.15rem 1.1rem 1.25rem; } .tl-offers-carousel__cta {