mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
24b689a882
This commit aims to review all the occurrences of the `s_text_image` snippet across the themes in order to fix broken selectors. task-3665301 Part-of: odoo/design-themes#830 Related: odoo/odoo#173311 Signed-off-by: Robin Lejeune (role) <role@odoo.com>
22 lines
922 B
XML
22 lines
922 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
|
|
<template id="s_text_image" inherit_id="website.s_text_image">
|
|
<!-- Section -->
|
|
<xpath expr="//section" position="attributes">
|
|
<attribute name="class" add="o_cc o_cc5 pt48 pb48" remove="pt80 pb80" separator=" "/>
|
|
</xpath>
|
|
<xpath expr="//*[hasclass('container')]" position="attributes">
|
|
<attribute name="class" add="container-fluid" remove="container" separator=" "/>
|
|
</xpath>
|
|
<!-- Image + Shape -->
|
|
<xpath expr="//img" position="attributes">
|
|
<attribute name="src">/web_editor/image_shape/website.s_text_image_default_image/web_editor/pattern/pattern_point.svg</attribute>
|
|
<attribute name="data-file-name">s_text_image.svg</attribute>
|
|
<attribute name="data-shape">web_editor/pattern/pattern_point</attribute>
|
|
<attribute name="data-shape-colors">;;;;</attribute>
|
|
</xpath>
|
|
</template>
|
|
|
|
</odoo>
|