mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[FIX] theme_anelusia, treehouse: fix grid classes of s_text_cover
In the community PR, the classes of the `s_text_cover` snippet have been fixed. This commit adapts the customizations to these class changes. task-3665300 closes odoo/design-themes#944 Related: odoo/odoo#181532 Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
<attribute name="data-row-count">15</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('row')]/div" position="attributes">
|
||||
<attribute name="class" add="g-height-9" remove="g-height-10 o_cc o_cc1" separator=" "/>
|
||||
<attribute name="class" add="g-col-lg-6 col-lg-6" remove="g-col-lg-5 col-lg-5 o_cc o_cc1" separator=" "/>
|
||||
<attribute name="style">z-index: 1; grid-area: 4 / 2 / 13 / 8; --grid-item-padding-x: 24px; --grid-item-padding-y: 24px; text-align: right;</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//h1" position="replace" mode="inner">
|
||||
@@ -27,7 +27,7 @@
|
||||
</xpath>
|
||||
<!-- Image -->
|
||||
<xpath expr="//div[hasclass('row')]//div[2]" position="attributes">
|
||||
<attribute name="class" add="g-col-lg-4 col-lg-4 g-height-15" remove="g-height-12 g-col-lg-6 col-lg-6 o_cc o_cc1 pt48 pb48" separator=" "/>
|
||||
<attribute name="class" add="g-col-lg-4 col-lg-4 g-height-15" remove="g-height-11 g-col-lg-6 col-lg-6 o_cc o_cc1" separator=" "/>
|
||||
<attribute name="style">grid-area: 1 / 9 / 16 / 13; --grid-item-padding-x: 0px; --grid-item-padding-y: 0px; background-image: url('/web/image/website.s_text_cover_default_image');</attribute>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
<odoo>
|
||||
|
||||
<template id="s_text_cover" inherit_id="website.s_text_cover">
|
||||
<xpath expr="//div[hasclass('col-lg-6')][1]" position="attributes">
|
||||
<xpath expr="//div[hasclass('o_grid_item')]" position="attributes">
|
||||
<attribute name="style" add="grid-area: 2 / 3 / 11 / 9;" remove="grid-area: 2 / 3 / 11 / 8;" separator=";"/>
|
||||
<attribute name="class" add="g-col-lg-6" remove="g-col-lg-5" separator=" "/>
|
||||
<attribute name="class" add="g-col-lg-6 col-lg-6" remove="g-col-lg-5 col-lg-5" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Title -->
|
||||
<xpath expr="//h1" position="replace" mode="inner">
|
||||
|
||||
Reference in New Issue
Block a user