forum: random improvements to overflows on the forum

* Wrap long usernames
* Prevent images from overflowing to the right
This commit is contained in:
Lephe 2021-03-05 13:52:55 +01:00
parent 07a91c4663
commit 284e8986fa
Signed by untrusted user: Lephenixnoir
GPG Key ID: 1BBA026E13FC0495
2 changed files with 5 additions and 1 deletions

View File

@ -81,6 +81,9 @@ table.thread td.author {
table.thread td {
vertical-align: top;
}
table.thread td.message img {
max-width: 100%;
}
table.thread div.info {
float: right;
@ -103,6 +106,7 @@ table.thread div.info {
table.thread td.author {
/* Includes padding */
width: 136px;
overflow-wrap: anywhere;
}
}

View File

@ -7,7 +7,7 @@
<tr id="{{ c.id }}">
{% if c != top_comment %}
<td class="author">{{ widget_user.profile(c.author) }}</td>
<td>
<td class="message">
<div class="info">
<div>Posté le {{ c.date_created|date }}</div>
{% if c.date_created != c.date_modified %}