css: compat for background colors in chapter headers of Feedbooks eBooks (#1163)

This commit is contained in:
Huang Xin
2025-05-16 09:29:07 +08:00
committed by GitHub
parent 16b0821eab
commit ddc9673260
+3 -1
View File
@@ -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;