[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:
Benoit Socias
2024-09-24 12:48:00 +00:00
parent 4af494dc4b
commit d28cc926c2
9 changed files with 8 additions and 11 deletions
-3
View File
@@ -21,9 +21,6 @@
<xpath expr="//p" position="replace" mode="inner">
Put yourself at the center of an extraordinary gaming universe with exclusive games.
</xpath>
<xpath expr="//p" position="attributes">
<attribute name="style" add="text-align: center;" separator=";"/>
</xpath>
<!-- Caption -->
<xpath expr="//figcaption" position="replace">
<figcaption class="figure-caption text-muted py-3">Watch as a living game world comes alive all around you, with a seamless field of view wherever you look.</figcaption>