summaryrefslogtreecommitdiff
path: root/addons/web_editor/models/ir_qweb.py
diff options
context:
space:
mode:
authorJoren Van Onder <jov@odoo.com>2016-04-19 09:30:00 +0200
committerJoren Van Onder <jov@odoo.com>2016-04-19 09:49:54 +0200
commit4ff34a98bcefa96c908baae1646a5af8acd21913 (patch)
tree1d9d6e56b486b8ad2ab57a4ba26d32601d0dfd1a /addons/web_editor/models/ir_qweb.py
parent237a0b6160d8262294819ce3b967f0317663f93d (diff)
[FIX] point_of_sale: adapt to Chrome 50's new handling of cell heights
Forward-port of saas-6 77dae4c9c54ac8341867f7b382a9be564f23d716. Chrome 50 treats percent-height divs inside of auto-height cells as auto [1]. So from now on it's important that an explicit 'height: 100%' CSS property is set on parent tds, otherwise you'll end up with elements with a height of 0. An extra difficulty is that this new height property on subwindow-container will result in the element being as high as his parent table. So the collapsed trick doesn't work anymore in the customer list. This has to be done conditionally. The proposed workaround of adding 100% height to parents of affected elements causes issues in IE/Edge because the effect of adding a height in percent to a table-{cell,row} element is not defined by CSS [2]. [1] https://chromium.googlesource.com/chromium/src/+/8876584335b48c99cf8df552ef4d8efebb131041 [2] http://stackoverflow.com/a/27384730
Diffstat (limited to 'addons/web_editor/models/ir_qweb.py')
0 files changed, 0 insertions, 0 deletions