mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-02-24 23:08:08 +08:00
Resolve #343
This commit is contained in:
parent
3ed1872c44
commit
86e9239a99
1 changed files with 4 additions and 2 deletions
|
@ -174,7 +174,7 @@ export const
|
|||
|
||||
let value;
|
||||
|
||||
// if ('TABLE' === name || 'TD' === name) {
|
||||
// if ('TABLE' === name || 'TD' === name || 'TH' === name) {
|
||||
if (hasAttribute('width')) {
|
||||
value = getAttribute('width');
|
||||
oStyle.width = value.includes('%') ? value : value + 'px';
|
||||
|
@ -183,7 +183,9 @@ export const
|
|||
value = oStyle.width;
|
||||
if (value && !value.includes('%')) {
|
||||
oStyle.maxWidth = value;
|
||||
oStyle.width = '100%';
|
||||
if ('TD' !== name && 'TH' !== name) {
|
||||
oStyle.width = '100%';
|
||||
}
|
||||
}
|
||||
// } else
|
||||
if ('A' === name) {
|
||||
|
|
Loading…
Reference in a new issue