[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:
@@ -31,7 +31,7 @@
|
||||
<!-- ======== PICTURE ======== -->
|
||||
<template id="s_picture" inherit_id="website.s_picture" name="Avantgarde s_cover">
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" add="pt144 pb128" remove="pt48 pb24" separator=" "/>
|
||||
<attribute name="class" add="pt144 pb128" remove="pt64 pb64" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="//h2" position="attributes">
|
||||
<attribute name="style" remove="text-align: center;" separator=" "/>
|
||||
@@ -48,7 +48,6 @@
|
||||
We combine a wide spectrum of technologies with a good portion of creativity.
|
||||
</xpath>
|
||||
<xpath expr="//img" position="attributes">
|
||||
<attribute name="class" remove="img-thumbnail" separator=" "/>
|
||||
<attribute name="src">/web_editor/image_shape/website.s_picture_default_image/web_editor/composition/composition_organic_line.svg?c2=o-color-2</attribute>
|
||||
<attribute name="data-shape">web_editor/composition/composition_organic_line</attribute>
|
||||
<attribute name="data-original-mimetype">image/jpeg</attribute>
|
||||
|
||||
Reference in New Issue
Block a user