Add Text Ellipsis for song title (#268)

This commit is contained in:
yazninja 2022-01-31 01:28:40 +08:00 committed by GitHub
parent 0b40b86cef
commit c6c1b76c92
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -37,9 +37,9 @@
:type="item.type"></mediaitem-artwork>
<button class="overlay-play" @click="playTrack()"><%- include("../svg/play.svg") %></button>
</div>
<div class="info-rect" :style="{'padding-left': (showArtwork ? '' : '16px')}"
<div class="info-rect text-overflow-elipsis" :style="{'padding-left': (showArtwork ? '' : '16px')}"
@dblclick="route()">
<div class="title text-overflow-elipsis">
<div class="title" style="text-overflow: ellipsis; overflow: hidden; white-space: nowrap;">
{{ item.attributes.name }}
</div>
<div class="subtitle text-overflow-elipsis" style="-webkit-box-orient: horizontal;">
@ -573,4 +573,4 @@
}
}
});
</script>
</script>