forked from akai/readest
Fix CSS for background image and background color
This commit is contained in:
@@ -74,10 +74,14 @@ const getLayoutStyles = (
|
||||
white-space: pre-wrap !important;
|
||||
tab-size: 2;
|
||||
}
|
||||
body {
|
||||
html, body {
|
||||
color: ${fg};
|
||||
zoom: ${zoomLevel}%;
|
||||
background-color: ${bg} !important;
|
||||
}
|
||||
body * {
|
||||
color: inherit;
|
||||
border-color: currentColor !important;
|
||||
${bg === '#ffffff' ? '' : `background-color: ${bg} !important;`}
|
||||
}
|
||||
svg, img {
|
||||
background-color: transparent !important;
|
||||
|
||||
+1
-1
Submodule packages/foliate-js updated: 2973329dcd...08a48a905a
Reference in New Issue
Block a user