From ddc9673260b5ce4b00b4c0855138fc1f0cbff0dc Mon Sep 17 00:00:00 2001 From: Huang Xin Date: Fri, 16 May 2025 09:29:07 +0800 Subject: [PATCH] css: compat for background colors in chapter headers of Feedbooks eBooks (#1163) --- apps/readest-app/src/utils/style.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/readest-app/src/utils/style.ts b/apps/readest-app/src/utils/style.ts index 6ac8f7b1..271ac1d4 100644 --- a/apps/readest-app/src/utils/style.ts +++ b/apps/readest-app/src/utils/style.ts @@ -317,8 +317,10 @@ const getLayoutStyles = ( background-color: unset !important; } - .chapterHeader { + /* for the Feedbooks eBooks */ + .chapterHeader, .chapterHeader * { border-color: unset; + background-color: ${bg} !important; } `; return layoutStyle;