mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 17:29:21 +02:00
Add word-break on forum thread & reply
When someone inserts long word, is will break into multiple lines
This commit is contained in:
parent
3a52f2c403
commit
8cf4d0cb0f
@ -54,7 +54,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
{% set i = 0 %}
|
{% set i = 0 %}
|
||||||
{% for thread in threads %}
|
{% 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 %}
|
{% set i = i + 1 %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</table>
|
</table>
|
||||||
|
@ -40,7 +40,7 @@ Page: {{ links_to_pages|raw }}<br/>
|
|||||||
<br />Posts: {{ post.author_posts_count }}<br />
|
<br />Posts: {{ post.author_posts_count }}<br />
|
||||||
</span>
|
</span>
|
||||||
</td>
|
</td>
|
||||||
<td valign="top">{{ post.content|raw }} </td></tr>
|
<td valign="top" style="word-break: break-all">{{ post.content|raw }} </td></tr>
|
||||||
<tr bgcolor="{{ getStyle(i) }}">
|
<tr bgcolor="{{ getStyle(i) }}">
|
||||||
<td>
|
<td>
|
||||||
<span style="font-size: 10px">{{ post.date|date('d.m.y H:i:s') }}
|
<span style="font-size: 10px">{{ post.date|date('d.m.y H:i:s') }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user