fix: leading-none (#12908)

Co-authored-by: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com>
This commit is contained in:
sean-brydon
2023-12-21 08:22:19 +00:00
committed by GitHub
co-authored by Udit Takkar
parent beae1aae8b
commit 9fbb0808be
+4 -1
View File
@@ -4,7 +4,10 @@ export function Label(props: JSX.IntrinsicElements["label"]) {
const { className, ...restProps } = props;
return (
<label
className={classNames("text-default text-emphasis mb-2 block text-sm font-medium", className)}
className={classNames(
"text-default text-emphasis mb-2 block text-sm font-medium leading-none",
className
)}
{...restProps}>
{props.children}
</label>