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#515
X-original-commit: 2ed70c99c9
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">
|
||||
|
||||
Reference in New Issue
Block a user