[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:
parent
63b92c6bfd
commit
b7e2f5be8b
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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{{{
|
||||
|
|
Loading…
Reference in New Issue