[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
+1 -2
View File
@@ -286,11 +286,10 @@
<!-- ==== Picture ===== -->
<template id="s_picture" inherit_id="website.s_picture" name="Paptic s_picture">
<xpath expr="//section" position="attributes">
<attribute name="class" add="pt72 o_cc1" remove="o_cc2 pt48" separator=" "/>
<attribute name="class" add="pt72 o_cc1" remove="pt64" separator=" "/>
</xpath>
<xpath expr="//img" position="attributes">
<attribute name="src">/web_editor/shape/theme_paptic/s_picture.svg?c1=o-color-1</attribute>
<attribute name="class" remove="img-thumbnail" separator=" "/>
</xpath>
</template>