Merge pull request #14268 from haheute/overflowing-log-messages

Overflowing of log messages in the admin log view
This commit is contained in:
Michael Vogel 2024-07-03 07:42:11 +02:00 committed by GitHub
commit 704fcfece8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 2 deletions

View file

@ -3324,6 +3324,11 @@ li.addon {
#adminpage .addon .desc {
padding-left: 10px;
}
#adminpage td.log-message,
#logdetail td.log-message {
width: 80%;
word-break: break-all;
}
#admin-users #users tr.blocked {
background-color: #f8efc0;
}

View file

@ -59,7 +59,7 @@
</thead>
<tbody>
{{foreach $data as $row}}
<tr id="ev-{{$row->id}}" class="log-event"
<tr id="ev-{{$row->id}}" class="log-event"
role="button" tabIndex="0"
aria-label="{{$l10n.View_details}}" aria-haspopup="true" aria-expanded="false"
data-data="{{$row->data}}" data-source="{{$row->source}}">
@ -76,7 +76,7 @@
{{/if}}
">{{$row->level}}</td>
<td>{{$row->context}}</td>
<td style="width:80%">{{$row->message}}</td>
<td class="log-message">{{$row->message}}</td>
</tr>
{{/foreach}}
</tbody>