mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[IMP] test_themes, theme_*: ensure that grid options are properly set
This commit adds a test that highlights mismatches in grid-related options (classes, grid-area style...). It also fixes the remaining issues in themes about it. task-4213996 closes odoo/design-themes#969 Related: odoo/odoo#182029 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
@@ -12,10 +12,6 @@
|
||||
<xpath expr="//h2" position="replace" mode="inner">
|
||||
DRIVING INNOVATION
|
||||
</xpath>
|
||||
<xpath expr="(//div[hasclass('o_grid_item')])[2]" position="attributes">
|
||||
<attribute name="class" add="g-height-5" remove="g-height-6" separator=" "/>
|
||||
<attribute name="style">grid-area: 9 / 6 / 14 / 13; z-index: 2;</attribute>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
|
||||
Reference in New Issue
Block a user