Skip to content

Commit c2a626f

Browse files
committed
use existing utility class for lineheight instead of custom sizes
1 parent baca2b1 commit c2a626f

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/components/PageHero.tsx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,16 +67,14 @@ const PageHero = ({
6767
"me-0 lg:me-4"
6868
)}
6969
>
70-
<h1 className="mb-4 mt-0 text-md font-normal uppercase !leading-[1.4] lg:mt-8">
70+
<h1 className="mb-4 mt-0 text-md font-normal uppercase !leading-xs lg:mt-8">
7171
{title}
7272
</h1>
7373

74-
<h2 className="mb-0 mt-8 max-w-full text-[2.5rem] font-bold !leading-[1.4] lg:mt-12 lg:text-5xl">
74+
<h2 className="mb-0 mt-8 max-w-full text-[2.5rem] font-bold !leading-xs lg:mt-12 lg:text-5xl">
7575
{header}
7676
</h2>
77-
<p className="mb-8 mt-4 text-xl !leading-[1.4] lg:text-2xl">
78-
{subtitle}
79-
</p>
77+
<p className="mb-8 mt-4 text-xl !leading-xs lg:text-2xl">{subtitle}</p>
8078

8179
{buttons && (
8280
<Flex className="gap-2 overflow-visible [&_ul]:m-0">

0 commit comments

Comments
 (0)