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

@ -231,7 +231,7 @@ Pins the article to the top. The higher the number, the higher the priority of t
#### toc
Generate table of contents. Set to false to disable automatic generation. Default is true.
Generate table of contents. Default is true.
#### lang

View file

@ -231,7 +231,7 @@ Fija el artículo en la parte superior. Cuanto mayor sea el número, mayor será
#### toc
¿Generar índice? Si se establece en false, se desactiva la generación automática. Valor predeterminado: true.
¿Generar índice? Valor predeterminado: true.
#### lang

View file

@ -231,7 +231,7 @@ abbrlink: theme-guide
#### toc
目次を自動生成するかどうか。false に設定すると自動生成が無効になり、デフォルトは true。
目次を自動生成するかどうか。デフォルトは true。
#### lang

View file

@ -231,7 +231,7 @@ abbrlink: theme-guide
#### toc
Генерировать оглавление. При значении false автоматическая генерация отключается. По умолчанию: true.
Генерировать оглавление. По умолчанию: true.
#### lang

View file

@ -231,7 +231,7 @@ abbrlink: theme-guide
#### toc
是否生成目錄。設為 false 時停用自動生成,預設為 true。
是否生成目錄。預設為 true。
#### lang

View file

@ -231,7 +231,7 @@ abbrlink: theme-guide
#### toc
是否生成目录。设为 false 时关闭自动生成,默认为 true。
是否生成目录。默认为 true。
#### lang

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} />

View file

@ -5,7 +5,7 @@
}
html {
--at-apply: 'bg-background c-secondary antialiased scroll-smooth';
--at-apply: 'bg-background c-secondary antialiased';
}
body {