Pakketkaarten: kleinere marge en kopgrootte op mobiel zodat lange titels niet overlopen
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -9,7 +9,7 @@ export function PackageCard({ pkg }: { pkg: PackageCardData }) {
|
||||
|
||||
return (
|
||||
<article
|
||||
className={`relative flex h-full flex-col px-9 pb-9 pt-10 ${
|
||||
className={`relative flex h-full flex-col px-6 pb-8 pt-9 sm:px-9 sm:pb-9 sm:pt-10 ${
|
||||
featured ? 'bg-brand text-on-brand' : 'bg-surface-2 text-text'
|
||||
}`}
|
||||
data-testid={`package-card-${pkg.id}`}
|
||||
@@ -19,7 +19,7 @@ export function PackageCard({ pkg }: { pkg: PackageCardData }) {
|
||||
Meest gekozen
|
||||
</span>
|
||||
)}
|
||||
<h3 className="mb-2.5 text-[30px] font-extrabold leading-[1.05] tracking-[-0.02em] [font-stretch:112%]">
|
||||
<h3 className="mb-2.5 hyphens-auto text-[clamp(24px,6.6vw,30px)] font-extrabold leading-[1.05] tracking-[-0.02em] [font-stretch:112%] [overflow-wrap:anywhere]">
|
||||
{pkg.title}
|
||||
</h3>
|
||||
<p className={`mb-9 text-base ${featured ? 'text-on-brand' : 'text-muted'}`}>
|
||||
|
||||
Reference in New Issue
Block a user