mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[FIX] theme_*: fix duplicate inline styles
*: avantgarde, beauty, bistro, buzzy, clean, cobalt, graphene, kea, yes
This commit adapts the style attribute's add/remove operations in order
to avoid ending up with the same property defined several times.
task-4206845
X-original-commit: 266b35a31e
Part-of: odoo/design-themes#946
Related: odoo/odoo#181550
Signed-off-by: Alice Gaudon (agau) <agau@odoo.com>
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
</xpath>
|
||||
<!-- Quote 1 -->
|
||||
<xpath expr="//div[hasclass('carousel-item')]" position="attributes">
|
||||
<attribute name="style" add="background-image: url('/web/image/website.s_quotes_carousel_demo_image_0'); background-position: 50% 25%;" separator=";"/>
|
||||
<attribute name="style" remove="background-position: 50% 50%;" add="background-position: 50% 25%;" separator=";"/>
|
||||
</xpath>
|
||||
<xpath expr="//blockquote" position="before">
|
||||
<div class="o_we_bg_filter" style="background-color: rgba(25, 41, 37, 0.55) !important;"/>
|
||||
|
||||
Reference in New Issue
Block a user