From de798b00ce2edf8e95284da8cd09685c0e4ed801 Mon Sep 17 00:00:00 2001 From: Carlos Narro Date: Sun, 31 May 2026 00:49:28 +0200 Subject: [PATCH] =?UTF-8?q?Hace=20responsive=20la=20tabla=20de=20precios?= =?UTF-8?q?=20en=20m=C3=B3vil?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Las filas del catálogo y la cabecera CSV se desbordaban horizontalmente en móvil (botones Guardar/Borrar fuera de pantalla), y ese overflow horizontal desestabilizaba la barra de navegación fija. Las filas ahora hacen wrap y el bloque rompe palabra. Co-Authored-By: Claude Opus 4.7 --- mvp/b2c/src/app/panel/precios/page.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/mvp/b2c/src/app/panel/precios/page.tsx b/mvp/b2c/src/app/panel/precios/page.tsx index 6c3b4fd..e77b81e 100644 --- a/mvp/b2c/src/app/panel/precios/page.tsx +++ b/mvp/b2c/src/app/panel/precios/page.tsx @@ -120,10 +120,10 @@ export default async function PreciosPage() {
{items.length === 0 &&

Sin materiales.

} {items.map((item) => ( -
- {item.nombre} +
+ {item.nombre} {item.calidad} - {item.unidad} + {item.unidad} {item.esDefault && ( default )} @@ -134,7 +134,7 @@ export default async function PreciosPage() { type="number" step="0.01" defaultValue={item.precioUnit / 100} - className="w-24 border border-gray-300 rounded-lg px-2 py-1 text-right" + className="w-20 border border-gray-300 rounded-lg px-2 py-1 text-right" /> @@ -176,7 +176,7 @@ export default async function PreciosPage() {

Importar catálogo (CSV)

- Cabecera: categoria,nombre,calidad,precio,unidad,descriptor_render,sku. El + Cabecera: categoria,nombre,calidad,precio,unidad,descriptor_render,sku. El precio en euros. Actualiza por SKU.

void}>