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 Part-of: odoo/design-themes#933 Related: odoo/odoo#181194 Signed-off-by: Alice Gaudon (agau) <agau@odoo.com>
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<template id="s_cover" inherit_id="website.s_cover">
|
||||
<!-- Parallax -->
|
||||
<xpath expr="//*[hasclass('s_parallax_bg')]" position="attributes">
|
||||
<attribute name="style" add="background-position: 50% 100%;" remove="background-position: 50% 0;" separator=" "/>
|
||||
<attribute name="style" add="background-position: 50% 100%;" remove="background-position: 50% 0;" separator=";"/>
|
||||
</xpath>
|
||||
<!-- Title -->
|
||||
<xpath expr="//h1" position="replace" mode="inner">
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
<!-- Image -->
|
||||
<xpath expr="//img" position="attributes">
|
||||
<attribute name="class" add="img-thumbnail" separator=" "/>
|
||||
<attribute name="style" add="padding: 20px !important;" separator=" "/>
|
||||
<attribute name="style" add="padding: 20px !important;" separator=";"/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user