Update for new search page

This commit is contained in:
the1812 2024-01-14 18:47:07 +08:00
parent eb0b682b08
commit 3bdd8ee4d9
2 changed files with 3 additions and 2 deletions

View File

@ -121,7 +121,8 @@ body.fixed-navbar {
top: calc(var(--navbar-height) + 8px) !important;
}
}
.bili-feed4 .header-channel {
.bili-feed4 .header-channel,
.search-fixed-header {
display: none !important;
}
}

View File

@ -166,7 +166,7 @@ export default Vue.extend({
if (!matchUrlPattern(/^https?:\/\/search\.bilibili\.com/)) {
return
}
select('#search-keyword').then((input: HTMLInputElement) => {
select('#search-keyword, .search-input-el').then((input: HTMLInputElement) => {
if (!input) {
return
}