mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[IMP] theme_*: adapt s_image_text templates
This commit aims to review all the occurrences of the `s_image_text` snippet across the themes in order to fix broken selectors. task-3665301 closes odoo/design-themes#830 Related: odoo/odoo#173311 Signed-off-by: Robin Lejeune (role) <role@odoo.com>
This commit is contained in:
@@ -59,11 +59,7 @@
|
||||
<template id="s_image_text" inherit_id="website.s_image_text" name="Cobalt s_image_text">
|
||||
<!-- Section -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" add="pt152 pb128" remove="pt32 pb32" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Layout -->
|
||||
<xpath expr="//div[hasclass('col-lg-6')][2]" position="attributes">
|
||||
<attribute name="class" add="col-lg-5 offset-lg-1" remove="col-lg-6" separator=" "/>
|
||||
<attribute name="class" add="pt152 pb128" remove="pt80 pb80" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Image -->
|
||||
<xpath expr="//img" position="replace">
|
||||
|
||||
Reference in New Issue
Block a user