mirror of
https://github.com/BewlyBewly/BewlyBewly.git
synced 2025-04-14 13:15:29 +00:00
fix: prevent changing danmaku font in specific case
prevent changing the danmaku font when not overriding the original Bilibili style
This commit is contained in:
@@ -87,7 +87,7 @@ export function setupNecessarySettingsWatchers() {
|
||||
|
||||
if (settings.value.overrideDanmakuFont) {
|
||||
danmakuFontStyleEl = injectCSS(`
|
||||
.bili-danmaku-x-dm {
|
||||
.bewly-design .bili-danmaku-x-dm {
|
||||
font-family: var(--bew-font-family, ${fallbackFontFamily}) !important;
|
||||
}
|
||||
`)
|
||||
|
||||
Reference in New Issue
Block a user