This commit is contained in:
the-djmaze 2023-02-15 11:57:30 +01:00
parent 7a762e50c7
commit ae1e6184c3

View file

@ -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%';
}