From 00ead29c7c1877de94be8c28bd587fa7acedcc69 Mon Sep 17 00:00:00 2001 From: Simon Lejeune Date: Thu, 14 Apr 2016 14:00:42 +0200 Subject: [PATCH] [FIX] web: fix layout issue in Chrome 50 The height was not distributed anymore to the children of a `table-row` element if they are not themselves `table-cell` elements. Fixes #11629 --- addons/web/static/src/css/base.css | 2 ++ addons/web/static/src/css/base.sass | 2 ++ 2 files changed, 4 insertions(+) diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index 62373f1f7d3..f52fd597c5a 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -902,6 +902,7 @@ height: 100%; } .openerp .oe_leftbar > div > div > div { + display: table-cell; position: relative; height: 100%; } @@ -1062,6 +1063,7 @@ height: 100%; } .openerp .oe_application > div > .oe_view_manager > .oe_view_manager_wrapper > div { + display: table-cell; position: relative; height: 100%; } diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index 40ace6829eb..bd0a322e8c0 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -785,6 +785,7 @@ $sheet-padding: 16px display: table-row height: 100% > div + display: table-cell position: relative height: 100% > div.oe_secondary_menus_container @@ -917,6 +918,7 @@ $sheet-padding: 16px display: table-row height: 100% > div + display: table-cell position: relative height: 100% > .oe_view_manager_body