[REV] web: display issue with x2many list

This reverts commit 3190bbe8be9685bc936d92b9840d567be120b85c.

It introduced a bigger problem where the m2m table would have a width
of 0 and not be visible when switching page in the notebooks.

closes odoo/odoo#74619

Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
This commit is contained in:
Simon Genin (ges)
2021-08-03 10:58:25 +00:00
parent 4c9f669bb4
commit 888ff78c20
@@ -725,9 +725,6 @@ ListRenderer.include({
}
});
// set max-width before setting table-layout fixed
this.$el.css({ 'max-width': this.$el.width() });
// Set the table layout to fixed
table.style.tableLayout = 'fixed';
},