mirror of
https://github.com/saicaca/fuwari.git
synced 2026-01-11 14:52:52 +01:00
fix: fix the top margin of sticky sidebar (#184)
This commit is contained in:
@@ -178,7 +178,7 @@ const bannerOffset = bannerOffsetByPosition[siteConfig.banner.position || 'cente
|
|||||||
@apply h-[calc(var(--banner-height-home)_-_4.5rem)] transition-all duration-300
|
@apply h-[calc(var(--banner-height-home)_-_4.5rem)] transition-all duration-300
|
||||||
}
|
}
|
||||||
.enable-banner.is-home #sidebar-sticky {
|
.enable-banner.is-home #sidebar-sticky {
|
||||||
@apply -top-[30vh]
|
@apply top-[calc(-30vh_+_1rem)]
|
||||||
}
|
}
|
||||||
.navbar-hidden {
|
.navbar-hidden {
|
||||||
@apply opacity-0 -translate-y-16
|
@apply opacity-0 -translate-y-16
|
||||||
|
|||||||
Reference in New Issue
Block a user