[FIX] theme_cobalt, theme_treehouse: add some missing image classes

In some theme customizations, some replaced images do not have the usual
image classes `img img-fluid mx-auto` anymore. The `img-fluid` one is
needed for grid images in mobile view, as they are overflowing without
it.

This commit adds these missing classes on the identified problematic
images.

closes odoo/design-themes#999

X-original-commit: c5adf9a903
Related: odoo/odoo#185408
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
Soukéina Bojabza
2024-10-09 16:54:16 +00:00
committed by qsm-odoo
parent 7309c8569d
commit d5645edf28
2 changed files with 4 additions and 4 deletions
@@ -14,7 +14,7 @@
<!-- Column #02 -->
<xpath expr="//div[hasclass('row')]/*[2]" position="replace">
<div class="col-lg-6 p-0">
<img src="/web/image/website.s_text_image_default_image" class="w-100 h-100" style="object-fit: cover;" alt=""/>
<img src="/web/image/website.s_text_image_default_image" class="img-fluid w-100 h-100" style="object-fit: cover;" alt=""/>
</div>
</xpath>
</template>