After improving the design for the web part5

This commit is contained in:
Your Name 2026-11-06 18:25:36 +02:00
parent aaf5b07018
commit 85aaa03491
2 changed files with 18 additions and 10 deletions

View File

@ -94,7 +94,7 @@ export function LandingOffersCarousel({ ads, loading }: LandingOffersCarouselPro
className="tl-offers-carousel__stage"
style={{ background: slideBackground(ad), borderColor: `${accent}55` }}
>
<div className="tl-container tl-offers-carousel__copy">
<div className="tl-offers-carousel__copy">
<p className="tl-eyebrow tl-eyebrow--gold">{t('landing.offers.kicker')}</p>
<h2 className="tl-display tl-offers__title">{ad.title}</h2>
{ad.subtitle && <p className="tl-offers__sub">{ad.subtitle}</p>}

View File

@ -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 {