[IMP] theme_*: review s_picture snippet occurrences

The goal of this commit is to fix xpath after the `s_picture` snippet
redesign, and eventually tweak some classes.

task-4047748

closes odoo/design-themes#824

Related: odoo/odoo#172740
Signed-off-by: Arthur Detroux (ard) <ard@odoo.com>
This commit is contained in:
Chrysanthe (chgo)
2024-07-17 16:45:52 +02:00
parent e3fc061cb9
commit 8ff74b77c6
22 changed files with 39 additions and 58 deletions
@@ -2,17 +2,12 @@
<odoo>
<template id="s_picture" inherit_id="website.s_picture">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" remove="o_cc o_cc2" separator=" "/>
</xpath>
<!-- Title -->
<xpath expr="//h2" position="replace" mode="inner">
Working Together
</xpath>
<!-- Image + Shape -->
<xpath expr="//img" position="attributes">
<attribute name="class" remove="img-thumbnail padding-large" separator=" "/>
<attribute name="src">/web_editor/image_shape/website.s_picture_default_image/web_editor/special/special_filter.svg</attribute>
<attribute name="data-file-name">01.svg</attribute>
<attribute name="data-shape">web_editor/special/special_filter</attribute>