Fix CSS for background image and background color

This commit is contained in:
chrox
2024-12-08 23:15:14 +01:00
parent 76667fa2f6
commit eb90854f69
2 changed files with 7 additions and 3 deletions
+6 -2
View File
@@ -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;