From 66938912b417cb0eff48047fb8db510906dc3633 Mon Sep 17 00:00:00 2001 From: An Phan Date: Fri, 17 Jun 2016 14:09:21 +0800 Subject: [PATCH] Use fixed layout for song list --- .../assets/js/components/shared/song-list.vue | 20 +++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/resources/assets/js/components/shared/song-list.vue b/resources/assets/js/components/shared/song-list.vue index abac027c..04062054 100644 --- a/resources/assets/js/components/shared/song-list.vue +++ b/resources/assets/js/components/shared/song-list.vue @@ -14,15 +14,15 @@ - Title + Title - Artist + Artist - Album + Album @@ -493,6 +493,7 @@ table { width: 100%; + table-layout: fixed; } tr.droppable { @@ -504,6 +505,9 @@ text-align: left; padding: 8px; vertical-align: middle; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; &.time { width: 72px; @@ -511,7 +515,15 @@ } &.track-number { - min-width: 42px; + width: 42px; + } + + &.artist { + width: 25%; + } + + &.album { + width: 30%; } &.play {