fix: fix the top margin of sticky sidebar (#184)

This commit is contained in:
saicaca 2024-09-20 00:33:50 +08:00
parent 7a022cc190
commit 93209a5bba
1 changed files with 1 additions and 1 deletions

View File

@ -178,7 +178,7 @@ const bannerOffset = bannerOffsetByPosition[siteConfig.banner.position || 'cente
@apply h-[calc(var(--banner-height-home)_-_4.5rem)] transition-all duration-300
}
.enable-banner.is-home #sidebar-sticky {
@apply -top-[30vh]
@apply top-[calc(-30vh_+_1rem)]
}
.navbar-hidden {
@apply opacity-0 -translate-y-16