Skip to content

Commit

Permalink
Merge pull request #3559 from Bnyro/master
Browse files Browse the repository at this point in the history
fix: mobile layout of playlist page
  • Loading branch information
Bnyro committed Apr 20, 2024
2 parents e4cc9f5 + 8ff3526 commit 2b5f978
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/PlaylistPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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">

Check warning on line 9 in src/components/PlaylistPage.vue

View workflow job for this annotation

GitHub Actions / build

UnoCSS utilities are not ordered

Check warning on line 9 in src/components/PlaylistPage.vue

View workflow job for this annotation

GitHub Actions / build-docker-image

UnoCSS utilities are not ordered

Check warning on line 9 in src/components/PlaylistPage.vue

View workflow job for this annotation

GitHub Actions / build

UnoCSS utilities are not ordered
<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" />

Check warning on line 12 in src/components/PlaylistPage.vue

View workflow job for this annotation

GitHub Actions / build

UnoCSS utilities are not ordered

Check warning on line 12 in src/components/PlaylistPage.vue

View workflow job for this annotation

GitHub Actions / build-docker-image

UnoCSS utilities are not ordered

Check warning on line 12 in src/components/PlaylistPage.vue

View workflow job for this annotation

GitHub Actions / build

UnoCSS utilities are not ordered
<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" />
Expand Down

0 comments on commit 2b5f978

Please sign in to comment.