From f6bc071e384ebaab082a3a39192168f5745f85c8 Mon Sep 17 00:00:00 2001 From: Hakadao Date: Wed, 26 Feb 2025 11:57:57 +0800 Subject: [PATCH] fix(danmaku): update font override CSS selector for better specificity --- src/contentScripts/views/necessarySettingsWatchers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/contentScripts/views/necessarySettingsWatchers.ts b/src/contentScripts/views/necessarySettingsWatchers.ts index 47ecec1e..f222eeb5 100644 --- a/src/contentScripts/views/necessarySettingsWatchers.ts +++ b/src/contentScripts/views/necessarySettingsWatchers.ts @@ -85,7 +85,7 @@ export function setupNecessarySettingsWatchers() { () => { if (settings.value.overrideDanmakuFont) { danmakuFontStyleEl = injectCSS(` - .bewly-design .bili-danmaku-x-dm { + .bewly-design.modify-fonts .bili-danmaku-x-dm { font-family: var(--bew-fonts) !important; } `)