From 09a9e4aeb57b92b03ba73f831d8943ec24cb9589 Mon Sep 17 00:00:00 2001 From: Joren Van Onder Date: Mon, 18 Apr 2016 16:42:09 +0200 Subject: [PATCH] [FIX] point_of_sale: deal with Chrome 50's new height inheritance 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. DO NOT FORWARD-PORT! [1] https://chromium.googlesource.com/chromium/src/+/8876584335b48c99cf8df552ef4d8efebb131041 --- addons/point_of_sale/static/src/css/pos.css | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/point_of_sale/static/src/css/pos.css b/addons/point_of_sale/static/src/css/pos.css index 1a8cbd76a42..3ef05b4ff49 100644 --- a/addons/point_of_sale/static/src/css/pos.css +++ b/addons/point_of_sale/static/src/css/pos.css @@ -683,6 +683,7 @@ } .point-of-sale .screen .content-cell{ width:100%; + height:100%; } .point-of-sale .screen .content-cell .content-container{ height:100%;