Use 100% width for container

with expanded cell and not inside another container.

issue9129
review291221004
This commit is contained in:
Cédric Krier
2020-03-17 23:23:13 +01:00
parent c5790f031f
commit 7dbe58e654
+3 -1
View File
@@ -642,7 +642,9 @@ function eval_pyson(value){
i += colspan;
});
});
if (has_expand && this.el.closest('td').hasClass('xexpand')) {
if (has_expand &&
(!this.el.closest('td').length ||
this.el.closest('td').hasClass('xexpand'))) {
this.el.css('width', '100%');
} else {
this.el.css('width', '');