[FIX] base: restore address display alignments
Commit https://github.com/odoo/odoo/commit/0c6e0d660ea00ad7ee9a3e94c0ac944cdf46565f used flex to properly align address information and the fa icons. The problem is that using flex prevents the parent div to ask for the address information to be center/right aligned. This is the case for the job pages in internal. This commit uses display: inline-block on the top-level element of the address to solve the problem. opw-2000947 closes odoo/odoo#34371 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
</div>
|
||||
</template>
|
||||
<template id="contact">
|
||||
<address t-ignore="true" class="mb0" itemscope="itemscope" itemtype="http://schema.org/Organization">
|
||||
<address t-ignore="true" class="d-inline-block mb-0" itemscope="itemscope" itemtype="http://schema.org/Organization">
|
||||
<div t-if="not (('name' in fields) or (address and 'address' in fields) or (city and 'city' in fields) or (mobile and 'mobile' in fields) or (website and 'website' in fields) or (email and 'email' in fields))" class="css_non_editable_mode_hidden">
|
||||
--<span class="text-muted" t-esc="name"/>--
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user