fix: Fixed scrollbar jump

Signed-off-by: SindreKjelsrud <sindre@kjelsrud.dev>
This commit is contained in:
Sid 2025-06-25 17:13:58 +02:00
parent beaeaafdc9
commit 9e469ce112
Signed by: sidski
GPG key ID: D2BBDF3EDE6BA9A6
2 changed files with 2 additions and 2 deletions

View file

@ -18,7 +18,7 @@ const { title, description } = Astro.props;
</head>
<body>
<section class="mx-auto max-w-3xl px-4 sm:px-6 xl:max-w-2xl xl:px-0">
<div class="flex flex-col h-screen">
<div class="flex flex-col h-screen scrollbar-gutter-stable">
<BlogHeader title={SITE_TITLE} />
<slot class="flex-1"/>
</div>

View file

@ -18,7 +18,7 @@ const { title, description } = Astro.props;
</head>
<body>
<section class="mx-auto max-w-3xl px-4 sm:px-6 xl:max-w-2xl xl:px-0">
<div class="flex flex-col h-screen">
<div class="flex flex-col h-screen scrollbar-gutter-stable">
<Header title={SITE_TITLE} />
<slot class="flex-1"/>