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 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% 75%;" separator=";"/>
|
||||
</xpath>
|
||||
<!-- Title -->
|
||||
<xpath expr="//h1" position="replace" mode="inner">
|
||||
|
||||
Reference in New Issue
Block a user