Exclude fixed navbar on new articles (fix #4540)

This commit is contained in:
the1812 2023-11-24 08:28:18 +08:00
parent 9cf1207df6
commit 8127ca2fcc
2 changed files with 2 additions and 2 deletions

View File

@ -32,6 +32,7 @@ export const entry: ComponentEntry = async ({ metadata: { name } }) => {
const globalFixedExclude = [
'https://space.bilibili.com',
'https://www.bilibili.com/read',
'https://www.bilibili.com/opus',
'https://www.bilibili.com/account/history',
]
if (!globalFixedExclude.some(p => matchUrlPattern(p))) {

View File

@ -39,8 +39,7 @@ body:not(.history-page) #biliMainHeader:not(.z-top-container),
body.history-page #biliMainHeader:not(.z-top-container) {
height: auto;
}
.link-top-container#tab-container,
.fixed-author-header {
.link-top-container#tab-container {
top: var(--navbar-height) !important;
}
.bili-feed4 .header-channel{