Commit 9e68972

HPCesia <me@hpcesia.com>
2026-09-16 08:02:04
Fix posts index page font size
1 parent 1d0370b
Changed files (1)
src
pages
src/pages/posts/index.astro
@@ -26,15 +26,17 @@ const postsByYear = sortedPosts.reduce(
 const globalI18n = getIntlayer("global", SITE_CONFIG.locale);
 ---
 <BaseLayout title={globalI18n.posts}>
-  <h1>{globalI18n.posts}</h1>
-  {
-    Object.entries(postsByYear)
-      .reverse()
-      .map(([year, posts]) => (
-        <section>
-          <h2>{year}</h2>
-          <PostsList posts={posts} />
-        </section>
-      ))
-  }
+  <div style={{fontSize: "1.2rem"}}>
+    <h1>{globalI18n.posts}</h1>
+    {
+      Object.entries(postsByYear)
+        .reverse()
+        .map(([year, posts]) => (
+          <section>
+            <h2>{year}</h2>
+            <PostsList posts={posts} />
+          </section>
+        ))
+    }
+  </div>
 </BaseLayout>