fix(front): display multi artist credits in one line in player and in queue
This commit is contained in:
parent
b0d3179f18
commit
f502cd25eb
|
@ -296,6 +296,7 @@ if (!isWebGLSupported) {
|
||||||
</template>
|
</template>
|
||||||
</h2>
|
</h2>
|
||||||
<span>
|
<span>
|
||||||
|
<Layout flex gap-8>
|
||||||
<template
|
<template
|
||||||
v-for="ac in currentTrack.artistCredit"
|
v-for="ac in currentTrack.artistCredit"
|
||||||
:key="ac.artist.id"
|
:key="ac.artist.id"
|
||||||
|
@ -320,6 +321,7 @@ if (!isWebGLSupported) {
|
||||||
</router-link>
|
</router-link>
|
||||||
<span>{{ ac.joinphrase }}</span>
|
<span>{{ ac.joinphrase }}</span>
|
||||||
</template>
|
</template>
|
||||||
|
</Layout>
|
||||||
</span>
|
</span>
|
||||||
<div
|
<div
|
||||||
v-if="currentTrack && errored"
|
v-if="currentTrack && errored"
|
||||||
|
|
|
@ -15,6 +15,7 @@ import TrackFavoriteIcon from '~/components/favorites/TrackFavoriteIcon.vue'
|
||||||
import TrackPlaylistIcon from '~/components/playlists/TrackPlaylistIcon.vue'
|
import TrackPlaylistIcon from '~/components/playlists/TrackPlaylistIcon.vue'
|
||||||
import PlayerControls from './PlayerControls.vue'
|
import PlayerControls from './PlayerControls.vue'
|
||||||
import VolumeControl from './VolumeControl.vue'
|
import VolumeControl from './VolumeControl.vue'
|
||||||
|
import Layout from '~/components/ui/Layout.vue'
|
||||||
import Button from '~/components/ui/Button.vue'
|
import Button from '~/components/ui/Button.vue'
|
||||||
|
|
||||||
const {
|
const {
|
||||||
|
@ -230,7 +231,11 @@ const hideArtist = () => {
|
||||||
<strong>
|
<strong>
|
||||||
{{ currentTrack.title }}
|
{{ currentTrack.title }}
|
||||||
</strong>
|
</strong>
|
||||||
<div class="meta">
|
<Layout
|
||||||
|
flex
|
||||||
|
no-gap
|
||||||
|
class="meta"
|
||||||
|
>
|
||||||
<div
|
<div
|
||||||
v-for="ac in currentTrack.artistCredit"
|
v-for="ac in currentTrack.artistCredit"
|
||||||
:key="ac.artist.id"
|
:key="ac.artist.id"
|
||||||
|
@ -242,7 +247,7 @@ const hideArtist = () => {
|
||||||
<span class="middle slash symbol" />
|
<span class="middle slash symbol" />
|
||||||
{{ currentTrack.albumTitle ?? t('components.audio.Player.meta.unknownAlbum') }}
|
{{ currentTrack.albumTitle ?? t('components.audio.Player.meta.unknownAlbum') }}
|
||||||
</template>
|
</template>
|
||||||
</div>
|
</Layout>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
|
|
Loading…
Reference in New Issue