Guilds & Characters: Use CSS word-break: break-all instead of PHP wordwrap

Suggested by @anyeor
This commit is contained in:
slawkens
2023-06-30 19:52:05 +02:00
parent 8cf4d0cb0f
commit 5eafff737a
6 changed files with 6 additions and 6 deletions

View File

@@ -142,7 +142,7 @@
{% set rows = rows + 1 %}
<tr bgcolor="{{ getStyle(rows) }}">
<td valign="top">Comment:</td>
<td>{{ comment|raw }}</td>
<td style="word-break: break-all">{{ comment|raw }}</td>
</tr>
{% endif %}

View File

@@ -44,7 +44,7 @@
<img src="{{ constant('GUILD_IMAGES_DIR') }}{{ guild.logo }}" width="64" height="64">
</td>
<td>
<td style="word-break: break-all">
<span{% if guild.description is not empty %} valign="top"{% endif %}>
<b>{{ guild.name }}</b>{% if isAdmin %}<a href="?subtopic=guilds&action=delete_by_admin&guild={{ guild.name }}"> - Delete this guild (for ADMIN only!)</a>{% endif %}
</span>

View File

@@ -47,7 +47,7 @@
<table style="width:100%;">
<tbody>
<tr>
<td>
<td style="word-break: break-all">
<div id="GuildInformationContainer">
{% if descriptions is not empty %}
{{ description }}