[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 -3
View File
@@ -4,14 +4,12 @@
<template id="s_picture" inherit_id="website.s_picture">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="pt80" remove="pt48 o_cc o_cc2" separator=" "/>
<attribute name="class" add="pt80" remove="pt64" separator=" "/>
</xpath>
<!-- Title -->
<xpath expr="//h2" position="replace" mode="inner">
Creating places that enhance the human experience.
</xpath>
<!-- Paragraphs -->
<xpath expr="//p[1]" position="replace" />
<!-- Caption -->
<xpath expr="//figcaption" position="replace" mode="inner">
We always put people and nature at the center of our projects.