Fix long lines in moderation action description

Lines containing a long URL, for instance, would cause the text to
overflow its content box.
This commit is contained in:
Tiago Ilieve 2023-12-22 03:15:47 -03:00 committed by Peter Bhat Harkins
parent 163b20e41b
commit e55ca717c0
2 changed files with 4 additions and 1 deletions

View File

@ -1304,6 +1304,9 @@ table.data tr.nobottom td {
border-bottom: 0px;
padding-bottom: 0px;
}
table.data tr.nobottom td.wrap {
overflow-wrap: anywhere;
}
table.data.tall td {
vertical-align: top;
}

View File

@ -39,7 +39,7 @@
</tr>
<tr class="<%= mod.reason.present?? "nobottom" : "" %>">
<td colspan=2></td>
<td>Action: <em><%= mod.action %></em></td>
<td class="wrap">Action: <em><%= mod.action %></em></td>
</tr>
<% if mod.reason.present? %>
<tr>