mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-16 11:41:17 +02:00
feat: add overlay scrollbar for body and code block
This commit is contained in:
parent
bc20bcc211
commit
743d17639d
6 changed files with 92 additions and 71 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue