mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[FIX] theme_*: fix used separators in class and style updates
*: anelusia, artists, avantgarde, aviato, bistro, bookstore, buzzy,
clean, enark, graphene, kea, kiddo, monglia, nano, notes,
odoo_experts, paptic, real_estate, treehouse, vehicle, yes, zap
This commit fixes the wrong separators used when updating class and
style attributes.
task-4206845
X-original-commit: 38a02a269a
Part-of: odoo/design-themes#946
Related: odoo/odoo#181550
Signed-off-by: Alice Gaudon (agau) <agau@odoo.com>
This commit is contained in:
@@ -757,7 +757,7 @@
|
||||
<!-- ===== WAVY GRID ======== -->
|
||||
<template id="s_wavy_grid" inherit_id="website.s_wavy_grid">
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" add="o_cc o_cc3"/>
|
||||
<attribute name="class" add="o_cc o_cc3" separator=" "/>
|
||||
<attribute name="data-oe-shape-data"/>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('o_we_shape')]" position="replace"/>
|
||||
@@ -785,22 +785,22 @@
|
||||
<!-- Card 1 -->
|
||||
<xpath expr="(//div[hasclass('s_card')])[1]" position="attributes">
|
||||
<attribute name="class" add="border" separator=" "/>
|
||||
<attribute name="style" add="border-width: 0px !important;" separator=" "/>
|
||||
<attribute name="style" add="border-width: 0px !important;" separator=";"/>
|
||||
</xpath>
|
||||
<!-- Card 2 -->
|
||||
<xpath expr="(//div[hasclass('s_card')])[2]" position="attributes">
|
||||
<attribute name="class" add="border" separator=" "/>
|
||||
<attribute name="style" add="border-width: 0px !important;" separator=" "/>
|
||||
<attribute name="style" add="border-width: 0px !important;" separator=";"/>
|
||||
</xpath>
|
||||
<!-- Card 3 -->
|
||||
<xpath expr="(//div[hasclass('s_card')])[3]" position="attributes">
|
||||
<attribute name="class" add="border" separator=" "/>
|
||||
<attribute name="style" add="border-width: 0px !important;" separator=" "/>
|
||||
<attribute name="style" add="border-width: 0px !important;" separator=";"/>
|
||||
</xpath>
|
||||
<!-- Card 4 -->
|
||||
<xpath expr="(//div[hasclass('s_card')])[4]" position="attributes">
|
||||
<attribute name="class" add="border" separator=" "/>
|
||||
<attribute name="style" add="border-width: 0px !important;" separator=" "/>
|
||||
<attribute name="style" add="border-width: 0px !important;" separator=";"/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user