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 = [ const globalFixedExclude = [
'https://space.bilibili.com', 'https://space.bilibili.com',
'https://www.bilibili.com/read', 'https://www.bilibili.com/read',
'https://www.bilibili.com/opus',
'https://www.bilibili.com/account/history', 'https://www.bilibili.com/account/history',
] ]
if (!globalFixedExclude.some(p => matchUrlPattern(p))) { 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) { body.history-page #biliMainHeader:not(.z-top-container) {
height: auto; height: auto;
} }
.link-top-container#tab-container, .link-top-container#tab-container {
.fixed-author-header {
top: var(--navbar-height) !important; top: var(--navbar-height) !important;
} }
.bili-feed4 .header-channel{ .bili-feed4 .header-channel{