feat: add overlay scrollbar for body and code block

This commit is contained in:
radishzzz 2025-03-27 05:00:22 +00:00
parent bc20bcc211
commit 743d17639d
6 changed files with 92 additions and 71 deletions

View file

@ -3,6 +3,7 @@ import Button from '@/components/Button.astro'
import Footer from '@/components/Footer.astro'
import Header from '@/components/Header.astro'
import Navbar from '@/components/Navbar.astro'
import Scrollbar from '@/components/Widgets/Scrollbar.astro'
import themeConfig from '@/config'
import Head from '@/layouts/Head.astro'
import { getPageInfo } from '@/utils/page'
@ -45,6 +46,7 @@ const MarginBottom = isPost && themeConfig.comment?.enabled
</main>
<Footer />
</div>
<Scrollbar />
<Button supportedLangs={supportedLangs} />
</body>
</html>