Merge pull request #3559 from Bnyro/master

fix: mobile layout of playlist page
This commit is contained in:
Bnyro 2024-04-20 18:46:18 +02:00 committed by GitHub
commit 2b5f9784e1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 4 deletions

View File

@ -6,15 +6,15 @@
<CollapsableText v-if="playlist?.description" :text="playlist.description" />
<div class="mt-1 flex items-center justify-between">
<div class="mt-1 flex <md:flex-col md:items-center justify-between">
<div>
<router-link class="link flex items-center gap-3" :to="playlist.uploaderUrl || '/'">
<img loading="lazy" :src="playlist.uploaderAvatar" class="rounded-full" />
<img loading="lazy" :src="playlist.uploaderAvatar" class="rounded-full h-12" />
<strong v-text="playlist.uploader" />
</router-link>
</div>
<div>
<strong class="mr-2" v-text="`${playlist.videos} ${$t('video.videos')}`" />
<div class="flex flex-wrap items-center gap-1">
<strong v-text="`${playlist.videos} ${$t('video.videos')}`" />
<button v-if="!isPipedPlaylist" class="btn mx-1" @click="bookmarkPlaylist">
{{ $t(`actions.${isBookmarked ? "playlist_bookmarked" : "bookmark_playlist"}`)
}}<i class="i-fa6-solid:bookmark ml-3" />