From 30207886b77ee3ae62ac17d2114d032f6ff70c26 Mon Sep 17 00:00:00 2001 From: qsm-odoo Date: Tue, 2 Aug 2016 15:40:30 +0200 Subject: [FIX] web: set correct web client height The main content of the web client was set to grow/shrink so that it fills the window (thanks to flex). However, to be able to shrink as much as necessary the min-height needs to be forced to 0. Without this fix, the web client was overflowing on the bottom of the page, making impossible to access some menu items. --- addons/web/static/src/less/webclient_layout.less | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'addons/web/static/src/less/webclient_layout.less') diff --git a/addons/web/static/src/less/webclient_layout.less b/addons/web/static/src/less/webclient_layout.less index 8f3252f34a7..3355f4f791f 100644 --- a/addons/web/static/src/less/webclient_layout.less +++ b/addons/web/static/src/less/webclient_layout.less @@ -33,7 +33,8 @@ > .o_main { .o-flex(1, 1, auto); .o-flex-display(); - + min-height: 0; // Allow flex to shrink this element as much as it wants + .o_sub_menu { .o-flex(0, 0, @odoo-submenu-width); .o-flex-display(); -- cgit v1.2.3