Merge pull request #1294 from Bnyro/playlist

fix playlist buttons
This commit is contained in:
Kavin 2022-08-12 22:01:55 +05:30 committed by GitHub
commit 651b69f4ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,7 +4,7 @@
<div v-if="playlist" v-show="!playlist.error"> <div v-if="playlist" v-show="!playlist.error">
<h1 class="text-center my-4" v-text="playlist.name" /> <h1 class="text-center my-4" v-text="playlist.name" />
<div class="grid grid-cols-2"> <div class="flex justify-between items-center">
<div> <div>
<router-link class="link" :to="playlist.uploaderUrl || '/'"> <router-link class="link" :to="playlist.uploaderUrl || '/'">
<img :src="playlist.uploaderAvatar" loading="lazy" class="rounded-full" /> <img :src="playlist.uploaderAvatar" loading="lazy" class="rounded-full" />
@ -12,7 +12,6 @@
</router-link> </router-link>
</div> </div>
<div> <div>
<div class="right-2vw absolute">
<strong v-text="`${playlist.videos} ${$t('video.videos')}`" /> <strong v-text="`${playlist.videos} ${$t('video.videos')}`" />
<br /> <br />
<button class="btn mr-1" v-if="authenticated && !isPipedPlaylist" @click="clonePlaylist"> <button class="btn mr-1" v-if="authenticated && !isPipedPlaylist" @click="clonePlaylist">
@ -26,7 +25,6 @@
</a> </a>
</div> </div>
</div> </div>
</div>
<hr /> <hr />