mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
Exclude fixed navbar on new articles (fix #4540)
This commit is contained in:
parent
9cf1207df6
commit
8127ca2fcc
@ -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))) {
|
||||||
|
|||||||
@ -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{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user