[FW][FIX] base: add missing flex term on address marker / text
Currently the address part of the contact widget does not display well as marker and address are on two separate lines. Indeed a d-flex is missing along with align-items-baseline in order to render correctly. Linked to task ID-2314778 PR #55702 X-original-commit 59801738a4c02db4d8dd230d50ec749661db5260 X-original-commit: f19725c6fb0c6df33e7bdb5361dda2bc11359021
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="align-items-baseline">
|
||||
<div t-if="address and 'address' in fields" class="d-flex 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