Merge pull request #14277 from haheute/logs-table-straight

make logs table straight, don't use grid for table body
This commit is contained in:
Michael Vogel 2024-07-04 17:37:46 +02:00 committed by GitHub
commit 27011cb0f3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 19 additions and 10 deletions

View file

@ -3327,22 +3327,31 @@ li.addon {
#adminpage h2 {
word-break: break-all;
}
#adminpage .table-logs-grid thead tr {
#adminpage .table-logs thead tr {
display: grid;
grid-auto-flow: row;
}
@media (min-width: 600px) {
#adminpage .table-logs-grid thead tr {
grid-auto-flow: column;
}
#adminpage .table-logs tbody {
display: table;
width: 100%;
table-layout: fixed;
}
#adminpage .table-logs-grid tbody {
display: grid;
#adminpage .table-logs td {
word-break: break-word;
}
#adminpage .table-logs td.log-message {
width: 40%;
}
#adminpage td.log-message,
#logdetail td.log-message {
width: 80%;
word-break: break-word;
}
@media (min-width: 600px) {
#adminpage .table-logs thead tr {
grid-auto-flow: column;
}
#adminpage .table-logs td.log-message {
width: 60%;
}
}
#admin-users #users tr.blocked {
background-color: #f8efc0;

View file

@ -22,7 +22,7 @@
</div>
</form>
<table class="table table-hover table-logs-grid">
<table class="table table-hover table-logs">
<thead>
<tr>
<th>{{$l10n.Date}}</th>