diff options
| author | Sébastien Theys <seb@odoo.com> | 2020-03-06 17:13:01 +0000 |
|---|---|---|
| committer | Sébastien Theys <seb@odoo.com> | 2020-03-06 20:04:05 +0000 |
| commit | b07728e94e0fa04cac8d5ac2dc59bd221dbae8db (patch) | |
| tree | ac95be8de61d659a4be42d9c0b35f350b1764893 /addons/website_customer | |
| parent | 8e98d71f3630ef8a24043d92caa6cad6666ade46 (diff) | |
[FIX] web, website_*: avoid inline style for image width 128
closes odoo/odoo#47134
X-original-commit: ccb00bd40e7ce58108aeb3ca66abf28a1e12c290
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
Diffstat (limited to 'addons/website_customer')
| -rw-r--r-- | addons/website_customer/views/website_customer_templates.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/website_customer/views/website_customer_templates.xml b/addons/website_customer/views/website_customer_templates.xml index 32dfb894226..2d98fd5c74b 100644 --- a/addons/website_customer/views/website_customer_templates.xml +++ b/addons/website_customer/views/website_customer_templates.xml @@ -37,7 +37,7 @@ <div class="media mt-3"> <a t-attf-href="/customers/#{slug(partner)}" t-field="partner.image_128" - class="d-block mr-3 text-center" style="width: 128px;" + class="d-block mr-3 text-center o_width_128" t-options='{"widget": "image", "qweb_img_responsive": False, "class": "o_image_128_max"}' ></a> <div class="media-body" style="min-height: 64px;"> @@ -220,7 +220,7 @@ <div t-foreach="partner.implemented_partner_ids" t-as="reference" class="media mt-3"> <t t-if="reference.website_published"> <a t-attf-href="/customers/#{slug(reference)}"> - <span t-field="reference.image_128" class="d-block mr-3 text-center" style="width: 128px;" t-options='{"widget": "image", "qweb_img_responsive": False, "class": "o_image_128_max"}'/> + <span t-field="reference.image_128" class="d-block mr-3 text-center o_width_128" t-options='{"widget": "image", "qweb_img_responsive": False, "class": "o_image_128_max"}'/> </a> <div class="media-body" style="min-height: 64px;"> <a t-attf-href="/customers/#{slug(reference)}"> |
