Skip to content

Commit

Permalink
improving episode card on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelernestog committed Aug 18, 2023
1 parent bbb76c8 commit d21b91f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/HorizontalCard.astro
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@ const displayDuration = formatTime(duration);
<div class="episode-card">
<div class="hero-content flex-row">
<a href={url} class="min-w-fit">
<img src={cover_url} alt={title} class="shadow-lg rounded-md w-20 h-20 md:w-24 md:h-24" />
<img src={cover_url} alt={title} class="shadow-lg rounded-md w-[4.5rem] h-[4.5rem] md:w-24 md:h-24" />
</a>
<div class="grow w-full overflow-auto">
<a href={url}>
<h2 class="md:text-xl text-lg font-semibold truncate">
<h2 class="md:text-xl text-sm font-semibold truncate">
{title}
</h2>
<p class="text-sm font-medium opacity-60">
<p class="text-xs font-medium opacity-60">
{displayDuration && displayDuration + ""}
{displayDate}
</p>
Expand Down

0 comments on commit d21b91f

Please sign in to comment.