Skip to content

Commit 06324d7

Browse files
authored
Merge pull request #6 from mlco2/fix/mobile-content-length
style: allow wider text content in web and phone
2 parents 34f39ad + 3ce8c96 commit 06324d7

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

src/layouts/BlogPost.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ console.log(updatedDate);
2828
}
2929
</div>
3030
<div
31-
class="w-[720px] max-w-[calc(100%-2rem)] mx-auto p-4 text-[rgb(var(--gray-dark))]"
31+
class="w-full max-w-4xl mx-auto md:px-6 py-4 text-[rgb(var(--gray-dark))]"
3232
>
3333
<div class="mb-4 py-4 text-center leading-none">
3434
<div class="mb-2 text-gray-400">

src/pages/blog/[...slug].astro

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,5 @@ const { Content } = await render(post);
1717
---
1818

1919
<BlogPost {...post.data}>
20-
<Prose>
21-
<Content />
22-
</Prose>
20+
<Content />
2321
</BlogPost>

0 commit comments

Comments
 (0)