aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrankie B <git@diskfloppy.me>2024-01-05 22:18:52 +0000
committerFrankie B <git@diskfloppy.me>2024-01-05 22:18:52 +0000
commitbbdfd228ed6e6a546b30ca8fde60baceff5581c5 (patch)
treeb33e140d18b52149cc0ff284968221258a4d405e
parent1da379d02377a6d4abd429ef514a807c09de9d96 (diff)
Un-break music page
-rw-r--r--resources/views/pages/music.blade.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/resources/views/pages/music.blade.php b/resources/views/pages/music.blade.php
index 8d2bd3b..0fbcda2 100644
--- a/resources/views/pages/music.blade.php
+++ b/resources/views/pages/music.blade.php
@@ -24,7 +24,7 @@
$top_tracks = json_decode(file_get_contents($api_root . '/lastfm/top'));
$count = 0;
@endphp
- <table class="info-table" role="presentation">
+ <table class="info-table" role="presentation" width="100%">
<tr>
<td colspan="4">
<h2>Last/Current Track:</h2>
@@ -32,7 +32,7 @@
</tr>
<tr>
<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>
</tr>
<tr>
@@ -58,9 +58,9 @@
@endif
<tr>
<td style="text-align: right">{{ $count }}</td>
- <td>{{ $track->name }}</td>
- <td>{{ $track->artist }}</td>
- <td>{{ $track->plays }}</td>
+ <td style="white-space: nowrap; text-overflow:ellipsis; overflow: hidden; max-width:1px;" width="50%">{{ $track->title }}</td>
+ <td style="white-space: nowrap; text-overflow:ellipsis; overflow: hidden; max-width:1px;" width="50%">{{ $track->artist }}</td>
+ <td>{{ $track->playcount }}</td>
</tr>
@endforeach
</table>