[IMP] review numbers snippets occurrences across design themes

This commit reviews the occurrences of the numbers snippets across
the website themes, especially broken selector.

The goal of this commit is to fix potential broken xpath as wel as
fine-tune the design if needed.

task-3924624

Part-of: odoo/design-themes#822
Related: odoo/odoo#163583
Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
This commit is contained in:
Chrysanthe (chgo)
2024-07-13 16:02:13 +02:00
parent 0211b2367d
commit aa5ce391ae
20 changed files with 34 additions and 73 deletions
+1 -4
View File
@@ -4,7 +4,7 @@
<template id="s_numbers" inherit_id="website.s_numbers">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="pt0 pb48" remove="pt24 pb24" separator=" "/>
<attribute name="class" add="pt0 pb48" remove="pt80 pb80" separator=" "/>
</xpath>
<!-- Replace h6 by paragraphs -->
<xpath expr="//h6" position="replace" mode="inner">
@@ -16,9 +16,6 @@
<xpath expr="(//h6)[3]" position="replace" mode="inner">
Number of controllers
</xpath>
<xpath expr="(//h6)[4]" position="replace" mode="inner">
New games every week
</xpath>
</template>
</odoo>