From dbf45e374b79fbb1829c2a825621d446c2686684 Mon Sep 17 00:00:00 2001 From: consultoria-as Date: Mon, 18 May 2026 07:19:37 +0000 Subject: [PATCH] fix(config): prevent device-card text overflow in printer grid - Add min-width:0 and overflow-wrap:break-word to .device-card - Add min-width:0 and overflow-wrap:break-word to .device-card__body - Prevents grid items from expanding beyond their cell when content is wide - Bump config.css cache-bust to v=2 --- pos/static/css/config.css | 4 +++- pos/templates/config.html | 32 +++++++++++++++++++++++++++++--- 2 files changed, 32 insertions(+), 4 deletions(-) diff --git a/pos/static/css/config.css b/pos/static/css/config.css index 8e83fa4..2a46c55 100644 --- a/pos/static/css/config.css +++ b/pos/static/css/config.css @@ -1041,6 +1041,8 @@ gap: var(--space-4); box-shadow: var(--shadow-sm); transition: var(--transition-normal); + min-width: 0; + overflow-wrap: break-word; } [data-theme="modern"] .device-card { @@ -1073,7 +1075,7 @@ stroke-linejoin: round; } - .device-card__body { flex: 1; } + .device-card__body { flex: 1; min-width: 0; overflow-wrap: break-word; } .device-card__name { font-weight: var(--font-weight-semibold); diff --git a/pos/templates/config.html b/pos/templates/config.html index d2e8482..30f16b2 100644 --- a/pos/templates/config.html +++ b/pos/templates/config.html @@ -13,7 +13,7 @@ - + @@ -584,7 +584,33 @@ +
+
+
+ +
+
+
Marcas de Partes Permitidas
+
Selecciona qué marcas de fabricantes aparecen en el catálogo
+
+
+ +
+
Fabricantes Aftermarket
+
+

Cargando marcas...

+
+

Si no seleccionas ninguna, se mostrarán todas las partes.

+
+ +
+
+
+ +
@@ -718,7 +744,7 @@ - +