diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index f46a0de5836..25e5d861648 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -1156,9 +1156,15 @@ display: table; height: inherit; width: 100%; + position: relative; } .openerp .oe_view_manager .oe_view_manager_body { - height: inherit; + position: absolute; + overflow: auto; + top: 90px; + bottom: 0; + left: 0; + right: 0; } .openerp .oe_view_manager .oe_view_manager_view_kanban:not(:empty) { height: inherit; @@ -3401,3 +3407,7 @@ input[type="radio"], input[type="checkbox"] { background-color: black; opacity: 0.6; } + +body { + overflow: hidden; +} diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index 18da5a7098c..f2815adbf72 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -970,8 +970,14 @@ $sheet-padding: 16px display: table height: inherit width: 100% + position: relative .oe_view_manager_body - height: inherit + position: absolute + overflow: auto + top: 90px + bottom: 0 + left: 0 + right: 0 .oe_view_manager_view_kanban:not(:empty) height: inherit &[data-view-type=kanban] @@ -2762,5 +2768,7 @@ input[type="radio"], input[type="checkbox"] opacity: 0.6000000238418579 +body + overflow: hidden // au BufWritePost,FileWritePost *.sass :!sass --style expanded --line-numbers > "%:p:r.css" // vim:tabstop=4:shiftwidth=4:softtabstop=4:fdm=marker: