From b219e62fe25e6b95ee09562d93900141ad18d214 Mon Sep 17 00:00:00 2001 From: Celia Date: Sat, 22 Nov 2025 20:27:43 +0100 Subject: [PATCH] Arreglo del filtrado: correccion del estilo de las tarjetas de productos --- essenza/templates/product/catalog.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/essenza/templates/product/catalog.html b/essenza/templates/product/catalog.html index e672b67..783c57b 100644 --- a/essenza/templates/product/catalog.html +++ b/essenza/templates/product/catalog.html @@ -449,7 +449,7 @@

{{ product.name }}

cards.forEach(c => { const matchCat = cat === 'all' || (c.dataset.category || '') === cat; const matchBrand = brand === 'all' || (c.dataset.brand || '') === brand; - c.style.display = (matchCat && matchBrand) ? 'flex' : 'none'; + c.style.display = (matchCat && matchBrand) ? '' : 'none'; }); } })();