fix: Fixed scrollbar jump
Signed-off-by: SindreKjelsrud <sindre@kjelsrud.dev>
This commit is contained in:
parent
beaeaafdc9
commit
9e469ce112
2 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||
|
|
|
@ -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"/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue