Skip to content

Commit

Permalink
Fix ticket text wrapping
Browse files Browse the repository at this point in the history
  • Loading branch information
kiritofeng committed Sep 2, 2024
1 parent 7cb7486 commit a8c8628
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions resources/ticket.scss
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,11 @@ div.ticket-title {
}
}

.ticket-body {
word-wrap: break-word;
word-break: break-word;
}

.new-message .detail {
padding: 8px 10px;
}
Expand Down
2 changes: 1 addition & 1 deletion templates/ticket/message.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
{% endif %}
</span>
</div>
<div class="content content-description">
<div class="content content-description ticket-body">
{{ message.body|markdown('ticket', MATH_ENGINE)|reference|str|safe }}
</div>
</div>
Expand Down

0 comments on commit a8c8628

Please sign in to comment.