mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[FIX] theme_nano: remove breaking container padding removals
Removing the container padding in some cases may be fine but cannot be done because would create horizontal scrollbars in full-width mode or simply on mobile devices. To further improve with task-2241779 closes odoo/design-themes#511 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
<attribute name="class" add="o_cc o_cc5 pt48 pb48" remove="pt32 pb32" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="//*[hasclass('container')]" position="attributes">
|
||||
<attribute name="class" add="container-fluid px-0" remove="container" separator=" "/>
|
||||
<attribute name="class" add="container-fluid" remove="container" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Image + Shape -->
|
||||
<xpath expr="//img" position="attributes">
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
</xpath>
|
||||
<!-- Content -->
|
||||
<xpath expr="//*[hasclass('container')]" position="attributes">
|
||||
<attribute name="class" add="container-fluid px-0" remove="container" separator=" "/>
|
||||
<attribute name="class" add="container-fluid" remove="container" separator=" "/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<attribute name="class" add="o_cc o_cc5 pt48 pb48" remove="pt32 pb32" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="//*[hasclass('container')]" position="attributes">
|
||||
<attribute name="class" add="container-fluid px-0" remove="container" separator=" "/>
|
||||
<attribute name="class" add="container-fluid" remove="container" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Image + Shape -->
|
||||
<xpath expr="//img" position="attributes">
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<attribute name="class" add="o_cc5 pt64 pb64" remove="o_cc2 pt32 pb32" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="//*[hasclass('container')]" position="attributes">
|
||||
<attribute name="class" add="container-fluid px-0" remove="container" separator=" "/>
|
||||
<attribute name="class" add="container-fluid" remove="container" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Column #01 -->
|
||||
<xpath expr="//*[hasclass('card-title')]" position="replace" mode="inner">
|
||||
|
||||
Reference in New Issue
Block a user