From abbca285f00a23cce5da42fa4e847377f88f3ea1 Mon Sep 17 00:00:00 2001 From: geoffrey45 Date: Sat, 25 Jun 2022 09:12:44 +0300 Subject: [PATCH] set track album width to max-width --- src/components/shared/SongItem.vue | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/src/components/shared/SongItem.vue b/src/components/shared/SongItem.vue index ceaf64a6..3cfe1b36 100644 --- a/src/components/shared/SongItem.vue +++ b/src/components/shared/SongItem.vue @@ -38,7 +38,7 @@ -
- {{ props.song.album }} -
+ {{ props.song.album }}
{{ formatSeconds(props.song.length) }}
@@ -157,11 +155,8 @@ function emitUpdate(track: Track) { .song-album { word-break: break-all; text-transform: capitalize; - - .album { - cursor: pointer; - max-width: max-content; - } + max-width: max-content; + cursor: pointer; @include tablet-portrait { display: none;