diff options
| author | Xavier Morel <xmo@openerp.com> | 2012-08-07 11:31:07 +0200 |
|---|---|---|
| committer | Xavier Morel <xmo@openerp.com> | 2012-08-07 11:31:07 +0200 |
| commit | 1277086229efee81388d9236e847ab1c7d0345d3 (patch) | |
| tree | 89a21562b5d1e31bc0c0f5ee7dda11e346c3d531 /addons/web/static/src/css | |
| parent | 741a1541dac31f966b9f86b2fd663d1a89ba413f (diff) | |
[FIX] remove margins from oe_form_nosheet in editable list view
Avoids list view moving around when edition starts (and form view is shown so fields can be used)
bzr revid: xmo@openerp.com-20120807093107-2cqww3fmstd62to0
Diffstat (limited to 'addons/web/static/src/css')
| -rw-r--r-- | addons/web/static/src/css/base.css | 5 | ||||
| -rw-r--r-- | addons/web/static/src/css/base.sass | 15 |
2 files changed, 15 insertions, 5 deletions
diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index 8f35c81de2d..7944570d16c 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -2340,6 +2340,11 @@ .openerp .oe_list { position: relative; } +.openerp .oe_list .oe_form .oe_form_nosheet { + margin: 0; + padding: 0; + border: none; +} .openerp .oe_list .oe_form .oe_form_field { width: auto; position: absolute; diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index 688c306169b..29d5ac1e87b 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -1831,11 +1831,16 @@ $sheet-max-width: 860px .oe_list position: relative - .oe_form .oe_form_field - width: auto - position: absolute - margin: 0 !important // dammit - padding: 0 + .oe_form + .oe_form_nosheet + margin: 0 // FIXME: either class or border should not be by default + padding: 0 + border: none + .oe_form_field + width: auto + position: absolute + margin: 0 !important // dammit + padding: 0 .oe_list_content width: 100% |
