[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 -5
View File
@@ -268,10 +268,10 @@
<!-- ======== PICTURE ======== -->
<template id="s_picture" inherit_id="website.s_picture" name="Graphene s_picture">
<xpath expr="//section" position="attributes">
<attribute name="class" add="pb0 pt48" remove="pb24 pt48" separator=" "/>
<attribute name="class" add="pb0 pt48" remove="pb64 pt64" separator=" "/>
<attribute name="data-oe-shape-data">{"shape":"web_editor/Zigs/01_001","flip":[]}</attribute>
</xpath>
<xpath expr="//section/div[hasclass('container')]" position="before">
<xpath expr="//section/div[hasclass('o_container_small')]" position="before">
<div class="o_we_shape o_web_editor_Zigs_01_001"/>
</xpath>
<!-- Content -->
@@ -281,9 +281,6 @@
<xpath expr="//p" position="replace" mode="inner">
Put your people at the heart of your marketing with tools that help you get to know your audience <br/>and see who you should be talking to.
</xpath>
<xpath expr="//img" position="attributes">
<attribute name="class" add="p-0 border-0" remove="padding-large" separator=" " />
</xpath>
</template>
</odoo>