Skip to content

Commit 4922464

Browse files
committed
[FIX] website_sale: fix nested category list width in product aside
__Issue:__ In the product categories sidebar (`#products_grid_before`), nested `<li>` elements could become wider than their parent `<ul>` when the category names were long (e.g., "Untersuchungshandschuhe"). This caused the parent <ul> to expand in height before the child and broke the visual layout. __Fix:__ Force `<li>` elements inside the `#categories_recursive` list to respect their parent width by applying `width: 100%` This keeps the sidebar layout consistent even with long category names. - opw-5075226 closes odoo#229571 X-original-commit: 3b6b7b1 Signed-off-by: Lina Eweis (liew) <[email protected]>
1 parent d484516 commit 4922464

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

addons/website_sale/static/src/scss/website_sale.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1973,6 +1973,10 @@ $-product-radius-map: (
19731973
}
19741974

19751975
// Hide chevrons for collapsed categories
1976+
#categories_recursive li {
1977+
width: 100% !important;
1978+
}
1979+
19761980
.o_categories_recursive_button:after {
19771981
display: none;
19781982
}

0 commit comments

Comments
 (0)