[FIX] website_sale: disable wraping on product category label
Steps to reproduce: - Activate Product category on /shop page to show on the left side - Activate collapsible category - Add or modify a Category to have a name with multiple words seperated by space Issue: The label of the category in eshop always returns to the line at the last word opw-3321404 closes odoo/odoo#124765 X-original-commit: 8ac659c9bd86142085491609fea65572c3305dd6 Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com> Signed-off-by: Djoumatchoua Eteil Junior (etdj) <etdj@odoo.com>
This commit is contained in:
@@ -759,7 +759,7 @@
|
||||
<div class="accordion-header d-flex mb-1">
|
||||
<t t-call="website_sale.categorie_link"/>
|
||||
<button t-attf-id="o_wsale_cat_accordion_title_{{c.id}}"
|
||||
t-attf-class="accordion-button p-0 ms-3 {{not isOpen and 'collapsed'}}"
|
||||
t-attf-class="accordion-button p-0 ms-3 {{not isOpen and 'collapsed'}} w-auto flex-grow-1"
|
||||
t-attf-data-bs-target="#o_wsale_cat_accordion_{{c.id}}"
|
||||
t-att-aria-expanded="isOpen and 'true' or 'false'"
|
||||
t-attf-aria-controls="o_wsale_cat_accordion_{{c.id}}"
|
||||
|
||||
Reference in New Issue
Block a user