Skip to content

Commit 886fd42

Browse files
kiritofengquantum5
authored andcommitted
Fix ticket text wrapping
1 parent 7cb7486 commit 886fd42

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

resources/ticket.scss

+5
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,11 @@ div.ticket-title {
205205
}
206206
}
207207

208+
.ticket-body {
209+
word-wrap: break-word;
210+
word-break: break-word;
211+
}
212+
208213
.new-message .detail {
209214
padding: 8px 10px;
210215
}

templates/ticket/message.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
{% endif %}
2020
</span>
2121
</div>
22-
<div class="content content-description">
22+
<div class="content content-description ticket-body">
2323
{{ message.body|markdown('ticket', MATH_ENGINE)|reference|str|safe }}
2424
</div>
2525
</div>

0 commit comments

Comments
 (0)