diff options
| author | qsm-odoo <qsm@odoo.com> | 2015-08-21 10:46:31 +0200 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2015-08-21 14:31:11 +0200 |
| commit | 2a3f359ae85ee5bdbdfc84c2bc383430a26526e5 (patch) | |
| tree | 776d5ed01b2b028f5660bfe7b656d543c107b0e4 /addons/web/static/src | |
| parent | cb1ce61c84300b61bbfcf85fec861944819e1f3f (diff) | |
[REF] * : Remove oe_left of oe_title & oe_avatar
LESS rules (enterprise compatibility) :
* .oe_avatar is float:left by default
* .oe_title is placed between oe_avatar/oe_button_box if any
without the need to make it float
Diffstat (limited to 'addons/web/static/src')
| -rw-r--r-- | addons/web/static/src/less/enterprise_compatibility.less | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/addons/web/static/src/less/enterprise_compatibility.less b/addons/web/static/src/less/enterprise_compatibility.less index b7f26de697d..0e13216e3cf 100644 --- a/addons/web/static/src/less/enterprise_compatibility.less +++ b/addons/web/static/src/less/enterprise_compatibility.less @@ -217,23 +217,24 @@ div.o_checkbox { } } - + .oe_title { - width: 400px; - } - - + .oe_avatar { - > img { - max-width: 90px; - max-height: 90px; - } - + &, & + .oe_avatar { + .oe_title { width: 400px; - padding-left: 95px; } } } + .oe_avatar { + > img { + max-width: 90px; + max-height: 90px; + } + + + .oe_title { + padding-left: 95px; + } + } + .o_row { > * { width: auto!important; // oe_inline |
