From 2a3f359ae85ee5bdbdfc84c2bc383430a26526e5 Mon Sep 17 00:00:00 2001 From: qsm-odoo Date: Fri, 21 Aug 2015 10:46:31 +0200 Subject: [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 --- .../static/src/less/enterprise_compatibility.less | 23 +++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) (limited to 'addons/web/static/src/less/enterprise_compatibility.less') 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 -- cgit v1.2.3