mirror of
https://github.com/BewlyBewly/BewlyBewly.git
synced 2025-04-14 13:15:29 +00:00
chore: prevent change Bilibili Evolved background color for the non-homepage
This commit is contained in:
@@ -128,9 +128,11 @@ onMounted(() => {
|
||||
}, 1200)
|
||||
})
|
||||
|
||||
// Force overwrite Bilibili Evolved body tag & html tag background color
|
||||
document.body.style.setProperty('background-color', 'unset', 'important');
|
||||
document.documentElement.style.setProperty('background-color', 'unset', 'important');
|
||||
if (isBilibiliHomePage.value) {
|
||||
// Force overwrite Bilibili Evolved body tag & html tag background color
|
||||
document.body.style.setProperty('background-color', 'unset', 'important');
|
||||
document.documentElement.style.setProperty('background-color', 'unset', 'important');
|
||||
}
|
||||
|
||||
if (mainAppRef.value) {
|
||||
mainAppRef.value.addEventListener('scroll', () => {
|
||||
|
||||
Reference in New Issue
Block a user