From 261d80323997cbcdd54f1605e13872f59bc548ed Mon Sep 17 00:00:00 2001 From: Benoit Socias Date: Tue, 24 Oct 2023 12:36:12 +0200 Subject: [PATCH] [IMP] website: remove duplicate and conflicting classes When introducing the templates for the "new page" feature in [1], on some elements classes ended up being specified twice, or being added without removing a contradicting class (e.g. different bottom paddings) This commit adjusts the blocks of the new page templates so that: - no class appears twice - only the visually applied class of several conflicting classes is kept For `pt*`, `pb*` and `o_cc*` the class with the highest number is the visually applied one. [1]: https://github.com/odoo/odoo/commit/b27d52c193a08fe6a4471c844afa3d01a33ccace task-3562147 closes odoo/odoo#139572 Related: odoo/design-themes#731 Signed-off-by: Romain Derie (rde) --- .../views/new_page_template_templates.xml | 34 +++++++++---------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/addons/website/views/new_page_template_templates.xml b/addons/website/views/new_page_template_templates.xml index 3042abe650a..8775d77630b 100644 --- a/addons/website/views/new_page_template_templates.xml +++ b/addons/website/views/new_page_template_templates.xml @@ -37,7 +37,7 @@ overridden by modules), because: @@ -47,7 +47,7 @@ overridden by modules), because: @@ -101,7 +101,7 @@ overridden by modules), because: @@ -208,7 +208,7 @@ overridden by modules), because: @@ -251,7 +251,7 @@ overridden by modules), because: