Merge branch 'wkuijltjes/streepje' into 'marietje-zuid'

Fix streepje from issue #48

Closes #48

See merge request technicie/MarietjeDjango!84
This commit is contained in:
2024-02-27 21:08:48 +01:00
2 changed files with 4 additions and 2 deletions

View File

@ -86,7 +86,7 @@ footer {
border-top: 3px double var(--text-color); border-top: 3px double var(--text-color);
} }
tr.requested_song{ .ownsong {
border-left: 1px solid var(--text-color); border-left: 1px solid var(--text-color);
} }

View File

@ -92,7 +92,9 @@
<template v-for="(song, index) in queue"> <template v-for="(song, index) in queue">
<tr :class="{ marietjequeue: (song.user === null), <tr :class="{ marietjequeue: (song.user === null),
underline_cell: (index === queue[-1]), underline_cell: (index === queue[-1]),
currentsong: (index === 0),}" currentsong: (index === 0),
ownsong: (this.user_data.id === song.user?.id && index !== 0),
}"
v-on:click="toggle_details(song)"> v-on:click="toggle_details(song)">
<td> <td>
<span class="artist">${ song.song.artist }$</span> <span class="artist">${ song.song.artist }$</span>