From 49f94a56507485e3730a1f786a768dd4f457e541 Mon Sep 17 00:00:00 2001 From: the-djmaze <3752035+the-djmaze@users.noreply.github.com> Date: Mon, 26 Oct 2026 17:41:10 +0100 Subject: [PATCH] Setting font-size was too aggressive --- dev/Common/Html.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dev/Common/Html.js b/dev/Common/Html.js index 072045f9a..70236d1bd 100644 --- a/dev/Common/Html.js +++ b/dev/Common/Html.js @@ -628,9 +628,10 @@ export const } // https://github.com/the-djmaze/snappymail/issues/1082 - if (minFontSize > pInt(oStyle.fontSize)) { + // Use getComputedStyle? + if (oStyle.fontSize && minFontSize > pInt(oStyle.fontSize)) { oStyle.fontSize = minFontSize + "px"; -// oStyle.removeProperty('font-size'); +// oStyle.setProperty('font-size', minFontSize + "px"); } // Removes background and color