From 9ea32aae956f1516d270f923f4201cfdad0506e2 Mon Sep 17 00:00:00 2001 From: the-djmaze <> Date: Tue, 15 Feb 2022 10:58:45 +0100 Subject: [PATCH] Small maxWidth improvement for https://github.com/the-djmaze/snappymail/issues/184#issuecomment-1039538958 --- dev/Common/Html.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dev/Common/Html.js b/dev/Common/Html.js index 3b983c586..69a664452 100644 --- a/dev/Common/Html.js +++ b/dev/Common/Html.js @@ -173,7 +173,8 @@ export const if (!value.includes('%')) { delAttribute('width'); oStyle.maxWidth = value + 'px'; - oStyle.removeProperty('width'); + oStyle.width = '100%'; +// oStyle.removeProperty('width'); } }