summaryrefslogtreecommitdiff
path: root/addons/web/static/src/less/webclient_layout.less
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2016-08-02 15:40:30 +0200
committerqsm-odoo <qsm@odoo.com>2016-08-02 16:35:14 +0200
commit30207886b77ee3ae62ac17d2114d032f6ff70c26 (patch)
treee1b930e2e3e5bd6fb5d99d494b788a2ceb7461c6 /addons/web/static/src/less/webclient_layout.less
parent944db71f21874d76c22aeb9c247fa4ecf079ca52 (diff)
[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.
Diffstat (limited to 'addons/web/static/src/less/webclient_layout.less')
-rw-r--r--addons/web/static/src/less/webclient_layout.less3
1 files changed, 2 insertions, 1 deletions
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();