Small maxWidth improvement for

https://github.com/the-djmaze/snappymail/issues/184#issuecomment-1039538958
This commit is contained in:
the-djmaze 2022-02-15 10:58:45 +01:00
parent 301413020c
commit 9ea32aae95

View file

@ -173,7 +173,8 @@ export const
if (!value.includes('%')) {
delAttribute('width');
oStyle.maxWidth = value + 'px';
oStyle.removeProperty('width');
oStyle.width = '100%';
// oStyle.removeProperty('width');
}
}