1
0
mirror of https://github.com/danbee/mpd-client synced 2025-03-04 08:39:09 +00:00

Make queue handle long names sanely.

This commit is contained in:
Dan Barber 2013-12-07 16:58:38 +00:00
parent b45787d752
commit 7e21e820ec
2 changed files with 8 additions and 2 deletions

View File

@ -8,8 +8,14 @@
margin: 0
.artist
font-size: 0.8em
white-space: nowrap
overflow: hidden
text-overflow: ellipsis
.title
font-weight: bold
white-space: nowrap
overflow: hidden
text-overflow: ellipsis
li
position: relative
padding: 10px
@ -20,6 +26,7 @@
padding: 0.5em 1em 0.5em 0
content: counter(index,decimal-leading-zero)
&.playing
margin-right: 32px
.title
color: $highlight
&:before
@ -28,7 +35,7 @@
@extend .icon
position: absolute
font-size: 1.25em
right: 10px
right: -22px
top: 10px
padding: 0.3em
content: "playing"

View File

@ -7,7 +7,6 @@ var Events = can.Construct.extend({
this.events.onmessage = function(e) {
response = JSON.parse(e.data);
console.log(response.data);
switch (response.type) {
case 'status':
status.attr(response.data, true);