mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user