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.name }}

{% if product.briefdesc %} -

{{ product.briefdesc|truncatewords:10 }}

+

{{ product.briefdesc|truncatewords:10 }}

{% endif %}
diff --git a/tienda/templates/tienda/mis_productos.html b/tienda/templates/tienda/mis_productos.html index f08e2ee..fedfc79 100644 --- a/tienda/templates/tienda/mis_productos.html +++ b/tienda/templates/tienda/mis_productos.html @@ -49,7 +49,7 @@
{{ producto.name }}
-
{{ producto.briefdesc|truncatewords:12 }}
+
{{ producto.briefdesc|truncatewords:12 }}
{{ producto.category.name }} {{ producto.price|format_price }}€ diff --git a/tienda/templates/tienda/producto.html b/tienda/templates/tienda/producto.html index b9b0bdc..fca8dd8 100644 --- a/tienda/templates/tienda/producto.html +++ b/tienda/templates/tienda/producto.html @@ -36,7 +36,7 @@ €{{ product.get_price_with_vat|format_price }}
IVA: €{{ product.get_vat_amount|format_price }}
-
+
{{ product.briefdesc }}
@@ -58,8 +58,8 @@
-
+
{{ product.description }}
-{% endblock %} \ No newline at end of file +{% endblock %} diff --git a/tienda/templates/tienda/search.html b/tienda/templates/tienda/search.html index 9ff74c9..3641bdd 100644 --- a/tienda/templates/tienda/search.html +++ b/tienda/templates/tienda/search.html @@ -61,7 +61,7 @@
{{ product.name }}
{% if product.briefdesc %} -

{{ product.briefdesc|truncatewords:15 }}

+

{{ product.briefdesc|truncatewords:15 }}

{% endif %}