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:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user