From 1770293221af870a5f213159b9e606bbecb62e60 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 20 Apr 2026 08:21:08 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20evitar=20overflow=20en=20descripciones?= =?UTF-8?q?=20largas=20sin=20saltos=20de=20l=C3=ADnea?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Agent-Logs-Url: https://github.com/dsaub/proyecto-final/sessions/5d4fb379-0cda-4ba0-803a-9110b1433c27 Co-authored-by: dsaub <54474838+dsaub@users.noreply.github.com> --- tienda/static/css/custom.css | 4 ++++ tienda/templates/tienda/home.html | 2 +- tienda/templates/tienda/mis_productos.html | 2 +- tienda/templates/tienda/producto.html | 6 +++--- tienda/templates/tienda/search.html | 2 +- 5 files changed, 10 insertions(+), 6 deletions(-) diff --git a/tienda/static/css/custom.css b/tienda/static/css/custom.css index c1c88f6..b4bd2e0 100644 --- a/tienda/static/css/custom.css +++ b/tienda/static/css/custom.css @@ -234,4 +234,8 @@ p.price { object-position: center; } +.texto-ajustado { + overflow-wrap: anywhere; +} + /*# sourceMappingURL=custom.css.map */ diff --git a/tienda/templates/tienda/home.html b/tienda/templates/tienda/home.html index 427250d..201fcb9 100644 --- a/tienda/templates/tienda/home.html +++ b/tienda/templates/tienda/home.html @@ -167,7 +167,7 @@
{{ product.briefdesc|truncatewords:10 }}
+{{ product.briefdesc|truncatewords:10 }}
{% endif %}{{ product.briefdesc|truncatewords:15 }}
+{{ product.briefdesc|truncatewords:15 }}
{% endif %}