From f992c8ee192c075b38bf14dd5dcfb10fba7dd2ef Mon Sep 17 00:00:00 2001 From: Simon Lejeune Date: Mon, 18 Apr 2016 12:23:39 +0200 Subject: [FIX] web: fix layout issue in Chrome 50 A 100% height is not distributed anymore to the children of a table-row if they are not themselves table-cell in Chrome 50. This breaks the indenpendent scrolling of the menu and the view manager. However, setting the `table-cell` display breaks the layout in Internet Explorer. When the webclient is loaded by Chrome 50, we load a stylesheet forcing a `table-cell` for display. Seems to be related to https://bugs.chromium.org/p/chromium/issues/detail?id=353580 and https://chromium.googlesource.com/chromium/src.git/+/8876584335b48c99cf8df552ef4d8efebb131041 Related to e1a99192bda1019a50be879cb0baaa72d447956a Fixes #11629 --- addons/web/static/src/css/chrome50.css | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 addons/web/static/src/css/chrome50.css (limited to 'addons/web/static/src/css') diff --git a/addons/web/static/src/css/chrome50.css b/addons/web/static/src/css/chrome50.css new file mode 100644 index 00000000000..cfcf6d84033 --- /dev/null +++ b/addons/web/static/src/css/chrome50.css @@ -0,0 +1,8 @@ +/* Do not forward port! */ +.oe_leftbar > div > div > div { + display: table-cell; +} + +.oe_view_manager > .oe_view_manager_wrapper > div { + display: table-cell; +} -- cgit v1.2.3