[FIX] website_sale: fix icon alignment
Fixes an alignment issue between the grid and list icon on the /shop page. TaskId-3009210 X-original-commit: 2ea3a5609d5d955ad75baa4bf5c31f8aefb55554 Part-of: odoo/odoo#102507
This commit is contained in:
@@ -472,7 +472,9 @@
|
||||
<t t-set="_activeClasses">border-primary</t>
|
||||
<div t-attf-class="o_wsale_apply_layout btn-group ms-3 {{_classes}}" t-att-data-active-classes="_activeClasses">
|
||||
<input type="radio" class="btn-check" name="wsale_products_layout" id="o_wsale_apply_grid" t-att-checked="'checked' if layout_mode != 'list' else None" value="grid"/>
|
||||
<label t-attf-class="btn btn-{{navClass}} #{_activeClasses if layout_mode != 'list' else None} fa fa-th-large o_wsale_apply_grid" title="Grid" for="o_wsale_apply_grid"/>
|
||||
<label t-attf-class="btn btn-{{navClass}} #{_activeClasses if layout_mode != 'list' else None} o_wsale_apply_grid" title="Grid" for="o_wsale_apply_grid">
|
||||
<i class="fa fa-th-large"/>
|
||||
</label>
|
||||
<input type="radio" class="btn-check" name="wsale_products_layout" id="o_wsale_apply_list" t-att-checked="'checked' if layout_mode == 'list' else None" value="list"/>
|
||||
<label t-attf-class="btn btn-{{navClass}} #{_activeClasses if layout_mode == 'list' else None} o_wsale_apply_list" title="List" for="o_wsale_apply_list">
|
||||
<i class="oi oi-view-list"/>
|
||||
|
||||
Reference in New Issue
Block a user