From 4e24b81616dda662e5d2ae1e68d7fb53dc72c1e1 Mon Sep 17 00:00:00 2001 From: Simon Lejeune Date: Wed, 24 Jun 2015 16:37:52 +0200 Subject: [REF] web: action manager: wrap the client actions in a div this way we can style the div and use the trick to have the child of a flex-item filling 100% of its parent (flex item in relative position and flex child in an absolute position). It is needed to have a consistent look betwenn Odoo enterprise and Odoo community. --- addons/web/static/src/css/base.css | 4 ++++ addons/web/static/src/css/base.sass | 4 ++++ 2 files changed, 8 insertions(+) (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 65bd414cefa..f1b279fd061 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -919,6 +919,10 @@ .openerp .oe_application .oe_application { width: 100%; } +.openerp .oe_application .oe_client_action { + height: 100%; + position: relative; +} .openerp .oe-view-manager { -webkit-box-flex: 1; -webkit-flex: 1 1 auto; diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index b844f1a8929..db6f463ac43 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -808,6 +808,10 @@ $sheet-padding: 16px flex-direction: column .oe_application width: 100% + + .oe_client_action + height: 100% + position: relative // }}} // ViewManager common {{{ .oe-view-manager -- cgit v1.2.3