[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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user