Add word-break on forum thread & reply

When someone inserts long word, is will break into multiple lines
This commit is contained in:
slawkens
2023-06-30 19:32:47 +02:00
parent 3a52f2c403
commit 8cf4d0cb0f
2 changed files with 3 additions and 3 deletions

View File

@@ -54,7 +54,7 @@
</tr>
{% set i = 0 %}
{% for thread in threads %}
<tr bgcolor="{{ getStyle(i) }}"><td>{{ thread.name }}</td><td>{{ thread.post|raw }}</td></tr>
<tr bgcolor="{{ getStyle(i) }}"><td>{{ thread.name }}</td><td style="word-break: break-all">{{ thread.post|raw }}</td></tr>
{% set i = i + 1 %}
{% endfor %}
</table>
</table>