[IMP] *: adapt themes due to changes made in s_picture snippet

*: theme_bistro, theme_odoo_experts, theme_vehicle, theme_avantgarde,
theme_aviato, theme_bookstore, theme_enark, theme_graphene, theme_kea

This commit adapts the themes to accommodate layout changes in the
s_picture snippet.

See also : https://github.com/odoo/odoo/pull/145413
task-3626753

closes odoo/design-themes#753

Related: odoo/odoo#145413
Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
This commit is contained in:
Serge Bayet (seba)
2023-12-12 14:40:36 +01:00
parent 6427cae199
commit ace1b39d46
11 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ const snippets = [
},
{
id: 's_picture',
name: 'Picture',
name: 'Title - Image',
},
{
id: 's_three_columns',
+1 -1
View File
@@ -26,7 +26,7 @@ const snippets = [
},
{
id: 's_picture',
name: 'Picture',
name: 'Title - Image',
},
];
+1 -1
View File
@@ -13,7 +13,7 @@ const snippets = [
},
{
id: 's_picture',
name: 'Picture',
name: 'Title - Image',
},
{
id: 's_product_catalog',
+2 -2
View File
@@ -7,8 +7,8 @@
<attribute name="class" add="o_cc3 pt64" remove="o_cc2 pt48 pb24" separator=" "/>
</xpath>
<!-- Size -->
<xpath expr="//div[hasclass('col-lg-10')]" position="attributes">
<attribute name="class" add="col-lg-8 offset-lg-2" remove="col-lg-10 offset-lg-1" separator=" "/>
<xpath expr="//div[hasclass('col-lg-12')]" position="attributes">
<attribute name="class" add="col-lg-8 offset-lg-2" remove="col-lg-12" separator=" "/>
</xpath>
<!-- Title -->
<xpath expr="//h2" position="replace" mode="inner">
+1 -1
View File
@@ -18,7 +18,7 @@ const snippets = [
},
{
id: 's_picture',
name: 'Picture',
name: 'Title - Image',
},
{
id: 's_product_list',
+1 -1
View File
@@ -9,7 +9,7 @@ const snippets = [
},
{
id: 's_picture',
name: 'Picture',
name: 'Title - Image',
},
{
id: 's_numbers',
+1 -1
View File
@@ -17,7 +17,7 @@ const snippets = [
},
{
id: 's_picture',
name: 'Picture',
name: 'Title - Image',
},
{
id: 's_comparisons',
+1 -1
View File
@@ -13,7 +13,7 @@ const snippets = [
},
{
id: 's_picture',
name: 'Picture',
name: 'Title - Image',
},
{
id: 's_image_text',
+1 -1
View File
@@ -6,7 +6,7 @@ import { _t } from "@web/core/l10n/translation";
const snippets = [
{
id: 's_picture',
name: 'Picture',
name: 'Title - Image',
},
{
id: 's_references',
@@ -32,7 +32,7 @@
</p>
</xpath>
<!-- Image -->
<xpath expr="//div[hasclass('col-lg-10')]//img" position="attributes">
<xpath expr="//div[hasclass('col-lg-12')]//img" position="attributes">
<attribute name="src">/web_editor/image_shape/website.s_picture_default_image/web_editor/devices/macbook_front.svg?c3=o-color-3</attribute>
<attribute name="data-shape">web_editor/devices/macbook_front</attribute>
<attribute name="data-original-mimetype">image/jpg</attribute>
+1 -1
View File
@@ -17,7 +17,7 @@ const snippets = [
},
{
id: 's_picture',
name: 'Picture',
name: 'Title - Image',
},
{
id: 's_masonry_block',