fix: fluid section title with clamp() to prevent wrapping below 900px

This commit is contained in:
Ilia Mashkov
2026-05-18 14:02:03 +03:00
parent 531de6899e
commit b40ff4f588
2 changed files with 5 additions and 2 deletions
@@ -42,8 +42,8 @@ export function SectionAccordion({ number, title, id, isActive, href, children }
<ViewTransitionWrapper name="section-content">
<div className="mb-16">
<h1
className="font-heading font-black text-5xl leading-[1.2] mb-0"
style={{ fontVariationSettings: "'WONK' 1, 'SOFT' 0" }}
className="font-heading font-black leading-[1.2] mb-0"
style={{ fontSize: 'var(--text-section-title)', fontVariationSettings: "'WONK' 1, 'SOFT' 0" }}
>
{heading}
</h1>