mirror of
https://github.com/SuperBFG7/ympd
synced 2024-12-23 01:20:27 +00:00
Switch queue's line break before album from HTML to CSS.
This commit is contained in:
parent
0faf70ad05
commit
84b3ea71a4
@ -60,8 +60,10 @@ body {
|
||||
}
|
||||
|
||||
#salamisandwich td:nth-child(2) span {
|
||||
font-style:italic;
|
||||
font-size:90%;
|
||||
font-style: italic;
|
||||
font-size: 90%;
|
||||
|
||||
display: block;
|
||||
}
|
||||
|
||||
tbody {
|
||||
|
@ -241,7 +241,7 @@ function webSocketConnect() {
|
||||
|
||||
$('#salamisandwich > tbody').append(
|
||||
"<tr trackid=\"" + obj.data[song].id + "\"><td>" + (obj.data[song].pos + 1) + "</td>" +
|
||||
"<td>" + obj.data[song].artist + "<br /><span>" + obj.data[song].album + "</span></td>" +
|
||||
"<td>" + obj.data[song].artist + "<span>" + obj.data[song].album + "</span></td>" +
|
||||
"<td>" + obj.data[song].title + "</td>" +
|
||||
"<td>" + minutes + ":" + (seconds < 10 ? '0' : '') + seconds +
|
||||
"</td><td></td></tr>");
|
||||
@ -361,7 +361,7 @@ function webSocketConnect() {
|
||||
if (typeof obj.data[item].artist === 'undefined') {
|
||||
var details = "<td colspan=\"2\">" + obj.data[item].title + "</td>";
|
||||
} else {
|
||||
var details = "<td>" + obj.data[item].artist + "<br /><span>" + obj.data[item].album + "</span></td><td>" + obj.data[item].title + "</td>";
|
||||
var details = "<td>" + obj.data[item].artist + "<span>" + obj.data[item].album + "</span></td><td>" + obj.data[item].title + "</td>";
|
||||
}
|
||||
|
||||
$('#salamisandwich > tbody').append(
|
||||
|
Loading…
Reference in New Issue
Block a user