[FIX] css: move overflow auto from body to webclient to prevent some element from triggering anoter scrollbar

This commit is contained in:
Cedric Snauwaert 2014-09-17 16:32:54 +02:00
parent d9e72a3716
commit fa339af2e4
2 changed files with 5 additions and 6 deletions

View File

@ -1,4 +1,4 @@
@charset "utf-8";
@charset "UTF-8";
@font-face {
font-family: "mnmliconsRegular";
src: url("/web/static/src/font/mnmliconsv21-webfont.eot") format("eot");
@ -8,7 +8,6 @@
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: "EntypoRegular";
src: url("/web/static/src/font/entypo-webfont.eot") format("eot");
@ -19,7 +18,6 @@
font-weight: normal;
font-style: normal;
}
#oe_main_menu_navbar {
min-height: 34px;
z-index: 1001;
@ -85,6 +83,7 @@
}
.openerp.openerp_webclient_container {
height: calc(100% - 34px);
overflow: auto;
}
@media (max-width: 768px) {
.openerp.openerp_webclient_container {
@ -3027,7 +3026,6 @@
top: 0px;
}
}
.kitten-mode-activated {
background-size: cover;
background-attachment: fixed;
@ -3415,7 +3413,7 @@ div.tour-backdrop {
}
body {
overflow: auto;
overflow: hidden;
}
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {

View File

@ -199,6 +199,7 @@ $sheet-padding: 16px
background: white
&.openerp_webclient_container
height: calc(100% - 34px)
overflow: auto
@media (max-width: 768px)
&.openerp_webclient_container
height: calc(100% - 52px)
@ -2794,7 +2795,7 @@ div.tour-backdrop
// }}}
body
overflow: auto
overflow: hidden
// hack to make IE11 work
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)