summaryrefslogtreecommitdiff
path: root/addons/web/static/src/css/base.sass
diff options
context:
space:
mode:
authorSimon Lejeune <sle@openerp.com>2014-12-23 10:32:27 +0100
committerSimon Lejeune <sle@openerp.com>2014-12-23 10:32:27 +0100
commitb7e2f5be8b060e4e048138441be039cccb705fe1 (patch)
tree36eb8c4f210dd0fc384b28a95d65cab46533f654 /addons/web/static/src/css/base.sass
parent63b92c6bfd22883e17e845c80286002fdf8c597d (diff)
[FIX] web: base.css: fallback for browsers without calc support
see https://developer.mozilla.org/en-US/docs/Web/CSS/calc
Diffstat (limited to 'addons/web/static/src/css/base.sass')
-rw-r--r--addons/web/static/src/css/base.sass2
1 files changed, 2 insertions, 0 deletions
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{{{