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

@ -2,11 +2,6 @@
import { defaultLocale, themeConfig } from '@/config'
import { walineLocaleMap } from '@/i18n/config'
const {
light: { primary: lightPrimary, secondary: lightSecondary, background: lightBackground },
dark: { primary: darkPrimary, secondary: darkSecondary, background: darkBackground },
} = themeConfig.color
const {
serverURL = '',
emoji = [],
@ -207,4 +202,4 @@ document.addEventListener('astro:after-swap', initWaline)
/* Rendering Options */
--waline-avatar-radius: 0.5rem;
}
</style>
</style>