fix: fluid section title with clamp() to prevent wrapping below 900px
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user