fix: remove white bar appearing on some pages

This commit is contained in:
Hakadao
2024-06-30 14:52:11 +08:00
parent 6b10130867
commit 4ea67a3148

View File

@@ -118,6 +118,12 @@ if (isSupportedPages()) {
visibility: hidden;
height: var(--bew-top-bar-height) !important;
}
/* some pages have a white bar at the top; changing the top margin fixes this problem */
.banner-wrapper,
.home-banner-wrapper {
margin-top: calc(-1 * var(--bew-top-bar-height)) !important;
}
`)
}