Skip to content

Commit 2d79bc1

Browse files
committed
Vertically condense layout on mobile homepage
1 parent b733fa0 commit 2d79bc1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/BlockHeader.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<h1
2-
class="text-accent text-2xl pb-3 pl-1 mb-2 mt-7 font-semibold border-b-4 border-double border-accent/30"
2+
class="text-accent text-2xl pb-3 pl-1 mb-2 mt-4 md:mt-7 font-semibold border-b-4 border-double border-accent/30"
33
>
44
<slot />
55
</h1>

src/components/PostPreview.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const { minutesRead } = remarkPluginFrontmatter
1515
const description = remarkPluginFrontmatter.description || post.data.description
1616
---
1717

18-
<article class="w-full py-5 my-4 border-accent/10">
18+
<article class="w-full py-5 my-1 md:my-4 border-accent/10">
1919
<h1 class="mb-3 text-2xl text-[var(--theme-h1)] font-semibold">
2020
<a href={`/posts/${post.id}`}># {post.data.title}</a>
2121
</h1>

0 commit comments

Comments
 (0)