From 5e367d958cdebdf4c2659c2d7fe0823cdf363bb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9ry=20Debongnie?= Date: Mon, 26 May 2014 14:51:47 +0200 Subject: [FIX] adjust view top when header height changes the header height is not fixed, it can change when the breadcrumbs start a new line, or when there is only one view type (for ex, in most reporting views). So, the top value of the view_manager_body has to be adjusted accordingly. --- addons/web/static/src/css/base.css | 2 +- addons/web/static/src/css/base.sass | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'addons/web/static/src/css') diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index ab156b283b9..53be627f486 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -1150,7 +1150,7 @@ .openerp .oe_application > div > .oe_view_manager > .oe_view_manager_body { position: absolute; overflow: auto; - top: 91px; + top: 66px; bottom: 0; left: 0; right: 0; diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index e2305826cb6..1cea0a006f7 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -964,7 +964,7 @@ $sheet-padding: 16px > .oe_view_manager_body position: absolute overflow: auto - top: 91px + top: 66px bottom: 0 left: 0 right: 0 -- cgit v1.2.3