[FIX] website_event_track_exhibitor: fix design issues with exhibitors logos
This commit fixes 2 design issues regarding the Exhibitors logo in
- Rounded-circle on logos crops and can hide some part of the partner's logo:
- Remove rounded-circle property
- Bg-light behind non-transparent bg logos:
- Remove to have all logos on white background.
Task ID: 2337738
closes odoo/odoo#57542
X-original-commit: b56a4f27bc35108bbf4240714f994f670e91ae69
Signed-off-by: awa-odoo <awa-odoo@users.noreply.github.com>
Signed-off-by: David Beguin <dbeguin@users.noreply.github.com>
This commit is contained in:
committed by
David Beguin
parent
19a7e81530
commit
ef8806da0d
@@ -154,7 +154,7 @@
|
||||
itemscope="itemscope" itemtype="http://schema.org/Event">
|
||||
<div class="h-100 row no-gutters">
|
||||
<t t-set="sponsor_image_url" t-value="sponsor.website_image_url"/>
|
||||
<header t-att-class="'overflow-hidden col-12 rounded-top position-static %s' % ('bg-secondary' if not sponsor_image_url else 'bg-light')">
|
||||
<header t-att-class="'overflow-hidden col-12 rounded-top position-static %s' % ('bg-secondary' if not sponsor_image_url else '')">
|
||||
|
||||
<small t-if="not sponsor.is_published" class="o_wesponsor_card_header_badge bg-danger">
|
||||
<i class="fa fa-ban mr-2"/>Unpublished
|
||||
|
||||
@@ -85,9 +85,9 @@
|
||||
<div class="ml-3">
|
||||
<div class="float-left pt-3">
|
||||
<span t-if="sponsor.image_512" t-field="sponsor.image_512" class="o_wevent_online_page_avatar"
|
||||
t-options="{'widget': 'image', 'class': 'rounded-circle', 'max-width': '96'}"/>
|
||||
t-options="{'widget': 'image', 'max-width': '96'}"/>
|
||||
<span t-elif="sponsor.partner_id.image_512" t-field="sponsor.partner_id.image_512" class="o_wevent_online_page_avatar"
|
||||
t-options="{'widget': 'image', 'class': 'rounded-circle', 'max-width': '96'}"/>
|
||||
t-options="{'widget': 'image', 'max-width': '96'}"/>
|
||||
</div>
|
||||
<div class="px-3 pt-3 d-flex flex-row justify-content-between position-relative">
|
||||
<div class="d-flex flex-column">
|
||||
|
||||
Reference in New Issue
Block a user