[FIX] web: base.css: fallback for browsers without calc support

see https://developer.mozilla.org/en-US/docs/Web/CSS/calc
This commit is contained in:
Simon Lejeune 2014-12-23 10:32:27 +01:00
parent 63b92c6bfd
commit b7e2f5be8b
2 changed files with 4 additions and 0 deletions

View File

@ -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);
}
}

View File

@ -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{{{