Skip to content

Commit 905dc5e

Browse files
committed
fix: border radius
1 parent 49845bb commit 905dc5e

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

src/components/Tag/Tag.tsx

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { cn } from "../../utilities";
44

55
export const tagVariants = cva("shrink-0 flex items-center justify-center gap-0.5 py-0.5 px-1", {
66
variants: {
7-
rounded: { false: "rounded-md", true: "rounded-rounded" },
7+
rounded: { false: "", true: "rounded-rounded" },
88
size: { sm: "h-6 text-text-sm", xs: "h-5 text-text-xs" },
99
emphasis: {
1010
bold: "",
@@ -26,6 +26,16 @@ export const tagVariants = cva("shrink-0 flex items-center justify-center gap-0.
2626
}
2727
},
2828
compoundVariants: [
29+
{
30+
rounded: false,
31+
size: "sm",
32+
class: "rounded-md"
33+
},
34+
{
35+
rounded: false,
36+
size: "xs",
37+
class: "rounded-sm"
38+
},
2939
// gray
3040
{
3141
emphasis: "bold",

0 commit comments

Comments
 (0)