mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-05 04:53:01 +00:00
set track album width to max-width
This commit is contained in:
@@ -38,7 +38,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<router-link
|
<router-link
|
||||||
class="song-album"
|
class="song-album ellip"
|
||||||
:to="{
|
:to="{
|
||||||
name: 'AlbumView',
|
name: 'AlbumView',
|
||||||
params: {
|
params: {
|
||||||
@@ -47,9 +47,7 @@
|
|||||||
},
|
},
|
||||||
}"
|
}"
|
||||||
>
|
>
|
||||||
<div class="album ellip">
|
|
||||||
{{ props.song.album }}
|
{{ props.song.album }}
|
||||||
</div>
|
|
||||||
</router-link>
|
</router-link>
|
||||||
<div class="song-duration">
|
<div class="song-duration">
|
||||||
<div class="text">{{ formatSeconds(props.song.length) }}</div>
|
<div class="text">{{ formatSeconds(props.song.length) }}</div>
|
||||||
@@ -157,11 +155,8 @@ function emitUpdate(track: Track) {
|
|||||||
.song-album {
|
.song-album {
|
||||||
word-break: break-all;
|
word-break: break-all;
|
||||||
text-transform: capitalize;
|
text-transform: capitalize;
|
||||||
|
|
||||||
.album {
|
|
||||||
cursor: pointer;
|
|
||||||
max-width: max-content;
|
max-width: max-content;
|
||||||
}
|
cursor: pointer;
|
||||||
|
|
||||||
@include tablet-portrait {
|
@include tablet-portrait {
|
||||||
display: none;
|
display: none;
|
||||||
|
|||||||
Reference in New Issue
Block a user