summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThibault Delavallée <tde@odoo.com>2020-08-10 11:35:55 +0000
committerThibault Delavallée <tde@odoo.com>2020-08-13 11:44:23 +0000
commit63280d971ece45e3c48dec99bec2d865b74d902c (patch)
tree397cdd806d796b48e029cfcfdcd274e2e95e68c2
parent390c01a430cff7221a5b42eb667607e484cb8ee1 (diff)
[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
-rw-r--r--odoo/addons/base/views/ir_qweb_widget_templates.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/odoo/addons/base/views/ir_qweb_widget_templates.xml b/odoo/addons/base/views/ir_qweb_widget_templates.xml
index a65718e04fe..0dcf377d2d5 100644
--- a/odoo/addons/base/views/ir_qweb_widget_templates.xml
+++ b/odoo/addons/base/views/ir_qweb_widget_templates.xml
@@ -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 ('&lt;br/&gt;%s' % ('' if options.get('no_marker') else '')))"/>
</div>