[FIX] css: move overflow auto from body to webclient to prevent some element from...
authorCedric Snauwaert <csn@openerp.com>
Wed, 17 Sep 2014 14:32:54 +0000 (16:32 +0200)
committerCedric Snauwaert <csn@openerp.com>
Thu, 18 Sep 2014 08:36:37 +0000 (10:36 +0200)
addons/web/static/src/css/base.css
addons/web/static/src/css/base.sass

index aa8278d..8af9a3b 100644 (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 {
     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) {
index e8b379e..ccf6825 100644 (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)