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_framed_intro" inherit_id="website.s_framed_intro">
|
||||
<!-- Image -->
|
||||
<xpath expr="//div[hasclass('col-lg-5')]" position="attributes">
|
||||
<attribute name="style" add="border-radius: 8px !important;" separator=" "/>
|
||||
<attribute name="style" add="border-radius: 8px !important;" separator=";"/>
|
||||
</xpath>
|
||||
<xpath expr="//img" position="attributes">
|
||||
<attribute name="class" add="rounded" separator=" "/>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
</xpath>
|
||||
<!-- Column #01 -->
|
||||
<xpath expr="//*[hasclass('s_card')]" position="attributes">
|
||||
<attribute name="style" add="--card-img-aspect-ratio: 132%" separator="; "/>
|
||||
<attribute name="style" add="--card-img-aspect-ratio: 132%" separator=";"/>
|
||||
</xpath>
|
||||
<xpath expr="//figure" position="attributes">
|
||||
<attribute name="class" remove="ratio-16x9" add="o_card_img_ratio_custom" separator=" "/>
|
||||
@@ -24,7 +24,7 @@
|
||||
</xpath>
|
||||
<!-- Column #02 -->
|
||||
<xpath expr="(//*[hasclass('s_card')])[2]" position="attributes">
|
||||
<attribute name="style" add="--card-img-aspect-ratio: 132%" separator="; "/>
|
||||
<attribute name="style" add="--card-img-aspect-ratio: 132%" separator=";"/>
|
||||
</xpath>
|
||||
<xpath expr="(//figure)[2]" position="attributes">
|
||||
<attribute name="class" remove="ratio-16x9" add="o_card_img_ratio_custom" separator=" "/>
|
||||
@@ -40,7 +40,7 @@
|
||||
</xpath>
|
||||
<!-- Column #03 -->
|
||||
<xpath expr="(//*[hasclass('s_card')])[3]" position="attributes">
|
||||
<attribute name="style" add="--card-img-aspect-ratio: 132%" separator="; "/>
|
||||
<attribute name="style" add="--card-img-aspect-ratio: 132%" separator=";"/>
|
||||
</xpath>
|
||||
<xpath expr="(//figure)[3]" position="attributes">
|
||||
<attribute name="class" remove="ratio-16x9" add="o_card_img_ratio_custom" separator=" "/>
|
||||
|
||||
Reference in New Issue
Block a user