From 4f5825529ad65df8b9ee59ef77e26be4bf7e505d Mon Sep 17 00:00:00 2001 From: John O'Keefe Date: Sun, 19 Apr 2026 21:16:34 -0400 Subject: [PATCH] fix(reader): set background-color on html/body instead of background: none background: none on html/body exposed the iframe's default black background in gaps around the content. Now uses background-color matching the theme color, and stops forcing background on body * which caused black bars around page margins. --- web/src/reader/reader.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/web/src/reader/reader.ts b/web/src/reader/reader.ts index 2acf8e6..33f066c 100644 --- a/web/src/reader/reader.ts +++ b/web/src/reader/reader.ts @@ -269,12 +269,11 @@ const getCSS = ({ ${fontFamilyRule} html, body { color: ${theme.fg} !important; - background: none !important; + background-color: ${theme.bg} !important; } body * { color: inherit !important; border-color: currentColor !important; - background-color: ${theme.bg} !important; } a:any-link { color: ${theme.link} !important;