Skip to content

Commit 82ec2a6

Browse files
committed
Fix overlap: Stack settings on mobile and adjust header padding
1 parent 8826f2f commit 82ec2a6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/PageHeader/HomePage.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const { config } = Astro.props;
1010
1111
---
1212

13-
<div class="px-lg pt-5xl lg:pt-3xl pb-0 h-full">
13+
<div class="px-lg pt-[11.25rem] lg:pt-3xl pb-0 h-full">
1414
<div class="homepage-header-top">
1515
<div class="grid grid-cols-3 lg:grid-cols-4 gap-md overflow-visible h-min">
1616
<p class="col-span-2 lg:col-span-3 mt-0 text-md md:text-xl lg:text-3xl">

src/components/PageHeader/RootPage.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const borderStyle = isFilterRoute ? "" : "border-b border-sidebar-type-color";
1212
---
1313

1414
<div
15-
class=`content-grid-simple 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}`
15+
class=`content-grid-simple min-h-[350px] h-[50vh] pt-[11.25rem] 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 col-span-full mb-5">{title}</h1>
1818
<p class="text-h3 !mt-0 mb-3xl col-span-2">{subtitle}</p>

0 commit comments

Comments
 (0)