Skip to content

Commit

Permalink
あまりいいとは思っていない②
Browse files Browse the repository at this point in the history
  • Loading branch information
kombumori authored Feb 16, 2024
1 parent 65f5e6e commit 1f14eda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ArticleCard.astro
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const { title, link, thumbnail, poster_name, poster_icon_url, tag }: Props = Ast
<a href={link} class="no-underline">
<div class="p-4">
<div class="aspect-oblong sms:aspect-square sm:aspect-oblong rounded-t-xl bg-blue-200 relative p-0 flex items-center justify-center">
{thumbnail}
<slot />
{(tag.text !== 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}</div>
}
Expand Down

0 comments on commit 1f14eda

Please sign in to comment.