From e33f4c9c83d9844c7cc0bdf98306c68663856d60 Mon Sep 17 00:00:00 2001 From: qsm-odoo Date: Wed, 19 Aug 2015 10:18:00 +0200 Subject: [PATCH] [FIX] web: o_row compatibility Elements in a .o_row are displayed like if they are .oe_inline elements but div elements also needed to be inline-blocks elements and to have space between them. --- .../static/src/less/enterprise_compatibility.less | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/addons/web/static/src/less/enterprise_compatibility.less b/addons/web/static/src/less/enterprise_compatibility.less index 972e1c384ca..dcac6b9eb3b 100644 --- a/addons/web/static/src/less/enterprise_compatibility.less +++ b/addons/web/static/src/less/enterprise_compatibility.less @@ -240,8 +240,16 @@ div.o_checkbox { } } - .o_row > * { - width: auto!important; // oe_inline + .o_row { + > * { + width: auto!important; // oe_inline + } + > div { + display: inline-block; + + div { + margin-left: 5px; + } + } } .oe_form label {