Skip to content

Commit 537abcd

Browse files
authored
Merge pull request #438 from thefrontside/er/fix-blog-template-mobile
Fix paragraph responsiveness
2 parents 01ed254 + 3ae56c2 commit 537abcd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

routes/blog-post-route.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export function blogPostRoute(): JSXHandler {
3434

3535
return (
3636
<AppHtml>
37-
<article class="flex flex-col items-center p-6 lg:p-0 text-blue-primary">
37+
<article class="flex flex-col items-center mx-auto p-6 lg:p-0 text-blue-primary">
3838
<header class="flex flex-col justify-center items-center mb-8 max-w-3xl">
3939
<section class="p-4 md:p-0">
4040
<h1 class="mb-4 max-w-prose font-black text-2xl md:text-4xl uppercase">
@@ -61,7 +61,7 @@ export function blogPostRoute(): JSXHandler {
6161
height={300}
6262
/>
6363
</header>
64-
<section class="mx-auto text-blue-primary lg:prose-lg prose">
64+
<section class="mx-auto w-full sm:max-w-screen-sm text-blue-primary lg:prose-lg prose">
6565
<link rel="stylesheet" href="/assets/prism-atom-one-dark.css" />
6666
<post.content />
6767
</section>

0 commit comments

Comments
 (0)