summaryrefslogtreecommitdiff
path: root/addons/web
diff options
context:
space:
mode:
Diffstat (limited to 'addons/web')
-rw-r--r--addons/web/static/src/css/base.css2
-rw-r--r--addons/web/static/src/css/base.sass2
2 files changed, 4 insertions, 0 deletions
diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css
index 236b038bab8..1b816cd7945 100644
--- a/addons/web/static/src/css/base.css
+++ b/addons/web/static/src/css/base.css
@@ -86,11 +86,13 @@
*/
}
.openerp.openerp_webclient_container {
+ height: 95%;
height: calc(100% - 34px);
overflow: auto;
}
@media (max-width: 768px) {
.openerp.openerp_webclient_container {
+ height: 90%;
height: calc(100% - 52px);
}
}
diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass
index 7343d1e0406..2dc158f9e33 100644
--- a/addons/web/static/src/css/base.sass
+++ b/addons/web/static/src/css/base.sass
@@ -201,10 +201,12 @@ $sheet-padding: 16px
font-size: 13px
background: white
&.openerp_webclient_container
+ height: 95% // fallback for browsers without support for calc()
height: calc(100% - 34px)
overflow: auto
@media (max-width: 768px)
&.openerp_webclient_container
+ height: 90% // fallback for browsers without support for calc()
height: calc(100% - 52px)
// }}}
//Placeholder style{{{