Skip to content

Commit 6625c17

Browse files
committed
chore: moved container
1 parent 57452b8 commit 6625c17

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/layouts/BaseLayout.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const { title } = Astro.props;
1212
<title>{title}</title>
1313
</head>
1414
<body class="bg-gray-50 text-gray-900">
15-
<div class="container mx-auto px-4">
15+
<div class="max-w-2xl mx-auto">
1616
<slot />
1717
</div>
1818
</body>

src/pages/blog/[slug].astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const { post } = Astro.props;
1414
---
1515

1616
<BaseLayout title={post.data.title}>
17-
<div class="max-w-3xl mx-auto px-4 py-8">
17+
<div class="px-4 py-8">
1818
<h1 class="text-5xl font-bold text-gray-800 mb-4">{post.data.title}</h1>
1919
<p class="text-gray-500 text-sm mb-8">{post.data.date.toDateString()}</p>
2020
<article class="prose prose-lg max-w-none">

0 commit comments

Comments
 (0)