Skip to content

Commit

Permalink
drop-shadow-xl
Browse files Browse the repository at this point in the history
  • Loading branch information
akku1139 authored Feb 16, 2024
1 parent c7b319e commit 6361182
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/ArticleCard.astro
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ const { title, link, poster_name, poster_icon_url, tag, thumb_bg }: Props = Astr
---

<a href={link} class="no-underline">
<div class="p-4">
<div class="p-4 drop-shadow-xl">
<div class={`aspect-oblong sms:aspect-square sm:aspect-oblong rounded-t-xl relative p-0 flex items-center justify-center border border-1 border-gray-400 ${thumb_bg}`}>
<slot />
{(tag !== undefined) &&
<div class={`text-xs text-center absolute left-4 top-3 py-1 px-2 font-bold rounded-full text-white ${tag.bg}`}>{tag.text}</div>
}
</div>
<div class="border border-1 border-gray-400 p-3 rounded-b-xl border-t-0 shadow-xl">
<div class="border border-1 border-gray-400 p-3 rounded-b-xl border-t-0">
<p class="text-sm font-bold line-clamp-3 h-20">{title}</p>
<div class="flex justify-right items-center mt-4">
<img src={poster_icon_url} class="w-8 rounded-full" />
Expand Down

0 comments on commit 6361182

Please sign in to comment.