site: update site scrollbar style (#48000)

This commit is contained in:
lijianan 2024-03-21 21:16:22 +08:00 committed by GitHub
parent f6ca160ca5
commit 505da69e68
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 0 deletions

View File

@ -13,3 +13,8 @@
background: rgba(255, 255, 255, 0.2);
border-radius: 6px;
}
html {
scrollbar-width: thin;
scrollbar-color: unset;
}

View File

@ -111,6 +111,8 @@ const useStyle = createStyles(({ token, css }) => {
height: 100%;
max-height: calc(100vh - ${token.headerHeight + token.contentMarginTop}px);
overflow: hidden;
scrollbar-width: thin;
scrollbar-color: unset;
}
&:hover .main-menu-inner {