summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
Diffstat (limited to 'addons')
-rw-r--r--addons/web/static/src/scss/ui.scss4
-rw-r--r--addons/website_crm_partner_assign/views/website_crm_partner_assign_templates.xml4
-rw-r--r--addons/website_customer/views/website_customer_templates.xml4
3 files changed, 8 insertions, 4 deletions
diff --git a/addons/web/static/src/scss/ui.scss b/addons/web/static/src/scss/ui.scss
index 39831e38d77..d94fd07ed73 100644
--- a/addons/web/static/src/scss/ui.scss
+++ b/addons/web/static/src/scss/ui.scss
@@ -138,3 +138,7 @@ span.o_force_ltr {
max-width: 128px !important;
max-height: 128px !important;
}
+
+.o_width_128 {
+ width: 128px;
+}
diff --git a/addons/website_crm_partner_assign/views/website_crm_partner_assign_templates.xml b/addons/website_crm_partner_assign/views/website_crm_partner_assign_templates.xml
index 92df88e2b82..835ce5ecf7a 100644
--- a/addons/website_crm_partner_assign/views/website_crm_partner_assign_templates.xml
+++ b/addons/website_crm_partner_assign/views/website_crm_partner_assign_templates.xml
@@ -83,7 +83,7 @@
<div class="media mt-3">
<a t-attf-href="/partners/#{slug(partner)}?#{current_grade and 'grade_id=%s&amp;' % current_grade.id}#{current_country and 'country_id=%s' % current_country.id}"
t-field="partner.image_128"
- class="mr-3 text-center" style="width: 128px;"
+ class="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 o_partner_body" style="min-height: 64px;">
@@ -165,7 +165,7 @@
<t t-if="any([p.website_published for p in partner.implemented_partner_ids])">
<h3 id="references">References</h3>
<div t-foreach="partner.implemented_partner_ids" t-if="reference.website_published" t-as="reference" class="media mt-3">
- <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"}'/>
<div class="media-body" style="min-height: 64px;">
<span t-field="reference.self"/>
<div t-field='reference.website_short_description'/>
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)}">