diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index 067ea09cd38..0281ec3750f 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -1061,6 +1061,7 @@ label.error { .openerp .oe_forms label.oe_label, .openerp .oe_forms label.oe_label_help { margin: 4px 0 0 3px; + white-space: nowrap; } .openerp .oe_forms .searchview_group_content label.oe_label, .openerp .searchview_group_content .oe_forms label.oe_label_help { /* making a distinction between labels in search view and other labels */ margin: 3px 0 0 3px; @@ -1153,9 +1154,9 @@ label.error { .openerp .oe_input_icon { position: absolute; cursor: pointer; - right: 5px; - top: 3px; - z-index: 2; + right: 4px; + top: 5px; + z-index: 1; } .openerp .oe_datepicker_container { position: absolute; @@ -1164,7 +1165,6 @@ label.error { display: none; } .openerp .oe_datepicker_root { - position: relative; display: inline-block; } .openerp .oe_forms.oe_frame .oe_datepicker_root { @@ -1178,13 +1178,6 @@ label.error { right: 5px; top: 3px; } -.openerp img.oe_field_translate { - margin-left: -21px; - vertical-align: top; - cursor: pointer; - position: relative; - top: 4px; -} .openerp .oe_trad_field.touched { border: 1px solid green !important; } diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index a75101f9867..618d135a919 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -726,7 +726,6 @@ @@ -863,15 +862,15 @@ t-att-name="widget.name" t-att-id="widget.element_id" t-attf-class="field_#{widget.type} #{_(['integer', 'float', 'float_time']).contains(widget.type) ? 'oe-number' : ''}" - t-attf-style="width: #{widget.field.translate ? '99' : '100'}%" + style="width: 100%" /> - +
+ style="width: 100%">
@@ -880,7 +879,7 @@ -
+ @@ -894,7 +893,7 @@ -
+ @@ -910,9 +909,9 @@ t-att-name="widget.name" t-att-id="widget.element_id" t-attf-class="field_#{widget.type}" - t-attf-style="width: #{widget.field.translate ? '99' : '100'}%" + style="width: 100%" > - +