Skip to content

Commit 04bb3fd

Browse files
committed
make subheader h3 size
1 parent 3fbb30f commit 04bb3fd

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/PageHeader/ItemPage.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ const { title, topic, subtitle } = Astro.props;
2525
<span>{title}</span>
2626
</div>
2727
<h1 class="whitespace-pre-line my-sm">{title}</h1>
28-
{subtitle && <p class="text-2xl">{subtitle}</p>}
28+
{subtitle && <p class="text-h3">{subtitle}</p>}
2929
</div>

src/components/PageHeader/RootPage.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ const borderStyle = isFilterRoute ? "" : "border-b border-sidebar-type-color";
1515
class=`min-h-[350px] h-[50vh] pt-5xl lg:pt-4xl bg-accent-color text-accent-type-color pb-md px-5 md:px-lg ${borderStyle}`
1616
>
1717
<h1 class="whitespace-pre-line">{title}</h1>
18-
<p class="text-xl md:text-2xl mb-3xl">{subtitle}</p>
18+
<p class="text-h3 mt-0 mb-3xl">{subtitle}</p>
1919
</div>

0 commit comments

Comments
 (0)