Hero title: single line on mobile with responsive font size
This commit is contained in:
parent
c0523f640e
commit
780abc7f63
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue