diff options
| author | Simon Lejeune <sle@openerp.com> | 2015-06-24 16:37:52 +0200 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2015-07-29 08:39:38 +0200 |
| commit | 4e24b81616dda662e5d2ae1e68d7fb53dc72c1e1 (patch) | |
| tree | 2fc17253c68f56552a1e2f40488f37e85d30ace1 /addons/web/static/src/css | |
| parent | c8b1f0d678d9521e545f57c4e06f6c2d44433627 (diff) | |
[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.
Diffstat (limited to 'addons/web/static/src/css')
| -rw-r--r-- | addons/web/static/src/css/base.css | 4 | ||||
| -rw-r--r-- | addons/web/static/src/css/base.sass | 4 |
2 files changed, 8 insertions, 0 deletions
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 |
