chore: remove smooth effect except post pages, update theme guide

This commit is contained in:
radishzzz 2025-03-28 02:09:26 +00:00
parent 3b13fed6cc
commit c0e41b3b57
8 changed files with 8 additions and 8 deletions

View file

@ -28,7 +28,7 @@ const MarginBottom = isPost && themeConfig.comment?.enabled
<html
lang={Astro.currentLocale}
class={fontStyle}
class:list={[fontStyle, { 'scroll-smooth': isPost }]}
data-overlayscrollbars-initialize
>
<Head {postTitle} {postDescription} {postSlug} />