From 1323b5da88b905381bdcbda40a78460c3b1231f9 Mon Sep 17 00:00:00 2001 From: June Date: Fri, 14 Nov 2025 19:18:09 +1300 Subject: [PATCH] Fix layout shifting when navigating to /posts --- web/src/components/postList/postCard.astro | 2 +- web/src/styles/global.css | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/web/src/components/postList/postCard.astro b/web/src/components/postList/postCard.astro index a502e93..f624378 100644 --- a/web/src/components/postList/postCard.astro +++ b/web/src/components/postList/postCard.astro @@ -7,7 +7,7 @@ const { p } = Astro.props ---
- +
diff --git a/web/src/styles/global.css b/web/src/styles/global.css index 17eda77..72bbb23 100644 --- a/web/src/styles/global.css +++ b/web/src/styles/global.css @@ -22,6 +22,10 @@ --accent: #F9DC5C; } + html { + overflow-y: scroll; + } + html body { @apply font-[Georgia]; @apply w-[68%] mx-auto h-full;