Fix ticket text wrapping

This commit is contained in:
kiritofeng 2024-08-31 20:04:14 -04:00 committed by Guanzhong Chen
parent 7cb7486e55
commit 886fd42600
2 changed files with 6 additions and 1 deletions

View File

@ -205,6 +205,11 @@ div.ticket-title {
} }
} }
.ticket-body {
word-wrap: break-word;
word-break: break-word;
}
.new-message .detail { .new-message .detail {
padding: 8px 10px; padding: 8px 10px;
} }

View File

@ -19,7 +19,7 @@
{% endif %} {% endif %}
</span> </span>
</div> </div>
<div class="content content-description"> <div class="content content-description ticket-body">
{{ message.body|markdown('ticket', MATH_ENGINE)|reference|str|safe }} {{ message.body|markdown('ticket', MATH_ENGINE)|reference|str|safe }}
</div> </div>
</div> </div>