[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 -2
View File
@@ -19,7 +19,7 @@
<attribute name="data-oe-shape-data">{"shape":"web_editor/Origins/04_001"}</attribute>
</xpath>
<!-- Shape -->
<xpath expr="//div[hasclass('container')]" position="before">
<xpath expr="//div[hasclass('o_container_small')]" position="before">
<div class="o_we_shape o_web_editor_Origins_04_001"/>
</xpath>
</template>
@@ -76,7 +76,7 @@
<attribute name="data-oe-shape-data">{"shape":"web_editor/Origins/04_001"}</attribute>
</xpath>
<!-- Shape -->
<xpath expr="//div[hasclass('container')]" position="before">
<xpath expr="//div[hasclass('o_container_small')]" position="before">
<div class="o_we_shape o_web_editor_Origins_04_001"/>
</xpath>
</template>
+2 -2
View File
@@ -4,7 +4,7 @@
<template id="s_picture" inherit_id="website.s_picture">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc3 pt64" remove="o_cc2 pt48 pb24" separator=" "/>
<attribute name="class" add="o_cc3" remove="pb64" separator=" "/>
</xpath>
<!-- Size -->
<xpath expr="//div[hasclass('col-lg-12')]" position="attributes">
@@ -30,7 +30,7 @@
<attribute name="data-oe-shape-data">{"shape":"web_editor/Origins/04_001"}</attribute>
</xpath>
<!-- Shape -->
<xpath expr="//div[hasclass('container')]" position="before">
<xpath expr="//div[hasclass('o_container_small')]" position="before">
<div class="o_we_shape o_web_editor_Origins_04_001"/>
</xpath>
</template>