fix: podcast/episode thumbnail hidden

This commit is contained in:
Phan An 2024-05-31 13:06:19 +08:00
parent a3f9715a12
commit 8314b011e2
2 changed files with 2 additions and 2 deletions

View file

@ -9,7 +9,7 @@
>
<Icon :icon="faBookmark" size="xl" class="absolute -top-1 right-3 text-k-accent" v-if="isCurrentEpisode" />
<button
class="hidden md:flex-[0_0_128px] relative overflow-hidden rounded-lg active:scale-95"
class="hidden md:block md:flex-[0_0_128px] relative overflow-hidden rounded-lg active:scale-95"
role="button"
@click.prevent="playOrPause"
>

View file

@ -4,7 +4,7 @@
class="flex gap-5 p-5 rounded-lg border border-white/5 hover:bg-white/10 bg-white/5 !text-k-text-primary !hover:text-k-text-primary"
:href="`#/podcasts/${podcast.id}`"
>
<aside class="hidden md:flex-[0_0_128px]">
<aside class="hidden md:block md:flex-[0_0_128px]">
<img :src="podcast.image" alt="Podcast image" class="w-[128px] aspect-square object-cover rounded-lg" />
</aside>
<main class="flex-1">