[FIX] base: contact widget: address was not properly aligned

Before this commit, the address of the company in the boxed template was not properly aligned with the tag line.

closes odoo/odoo#55344

Taskid: 2287262
X-original-commit: 03cfc283df715247fc33ce78698582788c1d4aa9
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
This commit is contained in:
Arnaud Joset
2020-08-03 15:42:10 +00:00
parent 950c7d415d
commit 7ebe85f138
@@ -21,7 +21,7 @@
<t t-call="base.contact_name"/>
</t>
<div itemprop="address" itemscope="itemscope" itemtype="http://schema.org/PostalAddress">
<div t-if="address and 'address' in fields" class="d-flex align-items-baseline">
<div t-if="address and 'address' in fields" class="align-items-baseline">
<i t-if="not options.get('no_marker')" class="fa fa-map-marker fa-fw" role="img" aria-label="Address" title="Address"/>
<span class="w-100 o_force_ltr" itemprop="streetAddress" t-raw="address.replace('\n', options.get('no_tag_br') and ', ' or ('&lt;br/&gt;%s' % ('' if options.get('no_marker') else '')))"/>
</div>