mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-09-20 15:45:55 +08:00
Resolve #869
This commit is contained in:
parent
d65d77ef2f
commit
3b43a8bc78
|
@ -241,7 +241,7 @@ export const
|
|||
delAttribute('width');
|
||||
}
|
||||
value = oStyle.removeProperty('width');
|
||||
if (value) {
|
||||
if (value && !oStyle.maxWidth) {
|
||||
oStyle.maxWidth = value;
|
||||
oStyle.width = '100%';
|
||||
}
|
||||
|
@ -252,7 +252,7 @@ export const
|
|||
delAttribute('height');
|
||||
}
|
||||
value = oStyle.removeProperty('height');
|
||||
if (value) {
|
||||
if (value && !oStyle.maxHeight) {
|
||||
oStyle.maxHeight = value;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue