[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:
@@ -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 ('<br/>%s' % ('' if options.get('no_marker') else '')))"/>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user