From 0609e828b14d7aacd89444846adb2833bfa18c3f Mon Sep 17 00:00:00 2001 From: Huang Xin Date: Tue, 3 Mar 2026 18:06:03 +0800 Subject: [PATCH] fix(css): unset hardcoded calibre color and background color, closes #3448 (#3457) --- apps/readest-app/src/utils/style.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/readest-app/src/utils/style.ts b/apps/readest-app/src/utils/style.ts index 5295a50d..09f24f75 100644 --- a/apps/readest-app/src/utils/style.ts +++ b/apps/readest-app/src/utils/style.ts @@ -227,6 +227,10 @@ const getColorStyles = ( border-color: unset; background-color: ${bg} !important; } + .calibre { + color: unset; + background-color: unset; + } `; return colorStyles; }; @@ -392,10 +396,6 @@ const getLayoutStyles = ( display: none; } - .calibre { - color: unset; - } - div:has(> img, > svg) { max-width: 100% !important; }