[MERGE] forward port of branch 8.0 up to e883193
[odoo/odoo.git] / addons / web / static / src / css / base.sass
index 5ca3ee7..13be060 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)
@@ -2658,6 +2659,8 @@ body.oe_single_form
 // @media print {{{
 @media print
     .openerp
+        .oe_application > div > .oe_view_manager > .oe_view_manager_wrapper > div > .oe_view_manager_body
+            overflow: visible
         .oe_header_row, ul.oe_header, div.oe_mail_thread_action, .oe_mail_recthread_actions, .oe_button_box, .oe_form button, button.oe_invite, .oe_form header, .openerp .oe_notebook > li.ui-state-default, .oe_topbar, .oe_leftbar, .oe_loading
             // We use !important here because jQuery adds @style = display: block on elements when using $.fn.show()
             display: none !important
@@ -2688,6 +2691,8 @@ body.oe_single_form
             background: none
         .openerp div.oe_mail_wall
             overflow: hidden !important
+    .openerp.openerp_webclient_container
+        overflow: visible
 // }}}
 
 // End of customize
@@ -2744,13 +2749,14 @@ body.oe_single_form
         padding: 1px
         height: 18px
         font-size: 20px
+    .modal-body
+        overflow-x: auto
     .modal-footer
         text-align: left
     .oe_button
         margin: 0 4px 0 0
     .oe_act_window.modal-body
         padding: 0
-        overflow-x: auto
 
 .ui-datepicker
     z-index: 1500 !important
@@ -2792,7 +2798,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)