diff --git a/htdocs/css/mpd.css b/htdocs/css/mpd.css
index 8931c92..6579fcc 100644
--- a/htdocs/css/mpd.css
+++ b/htdocs/css/mpd.css
@@ -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 {
diff --git a/htdocs/js/mpd.js b/htdocs/js/mpd.js
index 5112874..a79affa 100644
--- a/htdocs/js/mpd.js
+++ b/htdocs/js/mpd.js
@@ -241,7 +241,7 @@ function webSocketConnect() {
$('#salamisandwich > tbody').append(
"
" + (obj.data[song].pos + 1) + " | " +
- "" + obj.data[song].artist + " " + obj.data[song].album + " | " +
+ "" + obj.data[song].artist + "" + obj.data[song].album + " | " +
"" + obj.data[song].title + " | " +
"" + minutes + ":" + (seconds < 10 ? '0' : '') + seconds +
" | |
");
@@ -361,7 +361,7 @@ function webSocketConnect() {
if (typeof obj.data[item].artist === 'undefined') {
var details = "" + obj.data[item].title + " | ";
} else {
- var details = "" + obj.data[item].artist + " " + obj.data[item].album + " | " + obj.data[item].title + " | ";
+ var details = "" + obj.data[item].artist + "" + obj.data[item].album + " | " + obj.data[item].title + " | ";
}
$('#salamisandwich > tbody').append(