fix: badge component line-height according to the DS (#7766)
* fix: badge line-height * fix: revert padding top and bottom * fix: remove large prop * fix: remove large prop * feat: make md default --------- Co-authored-by: Peer Richelsen <[email protected]>
This commit is contained in:
1 parent
77df4117d0
commit
09af14b3f4
4 files changed
+13
-18
No files matched your search
@@ -20,14 +20,14 @@ const badgeStyles = cva("font-medium inline-flex items-center justify-center rou
|
||||
error: "bg-red-100 text-red-800",
|
||||
},
|
||||
size: {
|
||||
sm: "px-1 py-0.5 text-xs",
|
||||
md: "py-1 px-1.5 text-xs",
|
||||
lg: "py-1 px-2 text-sm",
|
||||
sm: "px-1 py-0.5 text-xs leading-3",
|
||||
md: "py-1 px-1.5 text-xs leading-3",
|
||||
lg: "py-1 px-2 text-sm leading-4",
|
||||
},
|
||||
},
|
||||
defaultVariants: {
|
||||
variant: "default",
|
||||
size: "sm",
|
||||
size: "md",
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user