fix: update Tag component size variants for consistency
This commit is contained in:
parent
c5e26d83c1
commit
f4e1539889
2 changed files with 2 additions and 2 deletions
|
|
@ -43,7 +43,7 @@ const { title, description, date, tags } = Astro.props;
|
|||
{
|
||||
tags?.map((tag) => (
|
||||
<li>
|
||||
<Tag name={tag} />
|
||||
<Tag name={tag} variant="small" />
|
||||
</li>
|
||||
))
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ interface Props {
|
|||
const { name, count, href, variant = "default" } = Astro.props;
|
||||
const linkHref = href || `/tags/${name}`;
|
||||
const isSmall = variant === "small";
|
||||
const textSize = isSmall ? "text-xs" : "text-sm";
|
||||
const textSize = isSmall ? "text-sm" : "text-base";
|
||||
---
|
||||
|
||||
<a href={linkHref}>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue