From 886fd426008fe610730eccd82b805800ad3a9509 Mon Sep 17 00:00:00 2001 From: kiritofeng Date: Sat, 31 Aug 2024 20:04:14 -0400 Subject: [PATCH] Fix ticket text wrapping --- resources/ticket.scss | 5 +++++ templates/ticket/message.html | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/resources/ticket.scss b/resources/ticket.scss index 255322ee0..9645e89eb 100644 --- a/resources/ticket.scss +++ b/resources/ticket.scss @@ -205,6 +205,11 @@ div.ticket-title { } } +.ticket-body { + word-wrap: break-word; + word-break: break-word; +} + .new-message .detail { padding: 8px 10px; } diff --git a/templates/ticket/message.html b/templates/ticket/message.html index 7c4c65923..bdde438f2 100644 --- a/templates/ticket/message.html +++ b/templates/ticket/message.html @@ -19,7 +19,7 @@ {% endif %} -
+
{{ message.body|markdown('ticket', MATH_ENGINE)|reference|str|safe }}