Hero title: single line on mobile with responsive font size

This commit is contained in:
alireza 2026-06-01 11:24:27 +03:30
parent c0523f640e
commit 780abc7f63
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ export default function HeroSection() {
>
{/* Headline */}
<h1
className="max-md:!whitespace-normal max-md:!text-2xl"
className="max-md:!whitespace-nowrap max-md:!text-[4.5vw]"
style={{
fontSize: 'clamp(22px, 2.2vw, 34px)',
fontWeight: 900,