Un-break music page

This commit is contained in:
floppydiskette 2024-01-05 22:18:52 +00:00
parent 1da379d023
commit bbdfd228ed
Signed by: fwoppydwisk
SSH key fingerprint: SHA256:Hqn452XQ1ETzUt/FthJu6+OFkS4NBxCv5VQSEvuk7CE

View file

@ -24,7 +24,7 @@
$top_tracks = json_decode(file_get_contents($api_root . '/lastfm/top')); $top_tracks = json_decode(file_get_contents($api_root . '/lastfm/top'));
$count = 0; $count = 0;
@endphp @endphp
<table class="info-table" role="presentation"> <table class="info-table" role="presentation" width="100%">
<tr> <tr>
<td colspan="4"> <td colspan="4">
<h2>Last/Current Track:</h2> <h2>Last/Current Track:</h2>
@ -32,7 +32,7 @@
</tr> </tr>
<tr> <tr>
<td colspan="4"> <td colspan="4">
<a href="{{ $current_track->url }}">{{ $current_track->name }} {{ $current_track->artist }}</a><br> <a href="{{ $current_track->url }}">{{ $current_track->title }} {{ $current_track->artist }}</a><br>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -58,9 +58,9 @@
@endif @endif
<tr> <tr>
<td style="text-align: right">{{ $count }}</td> <td style="text-align: right">{{ $count }}</td>
<td>{{ $track->name }}</td> <td style="white-space: nowrap; text-overflow:ellipsis; overflow: hidden; max-width:1px;" width="50%">{{ $track->title }}</td>
<td>{{ $track->artist }}</td> <td style="white-space: nowrap; text-overflow:ellipsis; overflow: hidden; max-width:1px;" width="50%">{{ $track->artist }}</td>
<td>{{ $track->plays }}</td> <td>{{ $track->playcount }}</td>
</tr> </tr>
@endforeach @endforeach
</table> </table>