From ae1e6184c3afc008ce28a1e70caa3f603f376798 Mon Sep 17 00:00:00 2001 From: the-djmaze <> Date: Wed, 15 Feb 2023 11:57:30 +0100 Subject: [PATCH] Resolve #956 --- dev/Common/Html.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/Common/Html.js b/dev/Common/Html.js index 251b2ca5b..a9cc95753 100644 --- a/dev/Common/Html.js +++ b/dev/Common/Html.js @@ -356,7 +356,7 @@ export const delAttribute('width'); } value = oStyle.removeProperty('width'); - if (value && !oStyle.maxWidth) { + if (parseInt(value,10) && !oStyle.maxWidth) { oStyle.maxWidth = value; oStyle.width = '100%'; }