fix: 避免横向滚动条

This commit is contained in:
KazooTTT
2025-02-06 14:44:45 +08:00
parent 6e1f206bd8
commit 09f1dfde9d
3 changed files with 17 additions and 2 deletions

View File

@ -9,7 +9,7 @@ export interface Props {
const { className = "", dataPagefindBody = true } = Astro.props;
---
<article class={`${className}`} data-pagefind-body={dataPagefindBody}>
<article class="mx-auto max-w-3xl overflow-x-hidden px-4">
<slot />
<div class="mt-8 border-t pt-4">