updated core components with correct styles

This commit is contained in:
Brent O'Neill 2025-09-30 12:55:49 -06:00
parent 08594672c8
commit 9f28514f3f
2 changed files with 5 additions and 5 deletions

View file

@ -8,8 +8,8 @@ const Card = React.forwardRef<
<div
ref={ref}
className={cn(
"rounded-lg border border-border bg-card text-card-foreground shadow-sm",
className,
"rounded-2xl border border-border bg-card text-card-foreground shadow-sm",
className
)}
{...props}
/>
@ -34,7 +34,7 @@ const CardTitle = React.forwardRef<
ref={ref}
className={cn(
"text-base font-semibold leading-tight tracking-tight",
className,
className
)}
{...props}
/>

View file

@ -26,7 +26,7 @@ const SelectTrigger = React.forwardRef<
<SelectPrimitive.Trigger
ref={ref}
className={cn(
"flex h-10 w-full items-center justify-between rounded-md border border-input px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:bg-muted [&>span]:line-clamp-1",
"flex h-10 w-full items-center justify-between rounded-md border border-input px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:bg-muted [&>span]:line-clamp-1 disabled:border-none",
className
)}
{...props}
@ -34,7 +34,7 @@ const SelectTrigger = React.forwardRef<
{children}
<SelectPrimitive.Icon asChild>
{props.disabled ? (
<LockIcon className="text-base h-5 w-5 opacity-50" />
<LockIcon className="text-base h-4 w-4 opacity-50" />
) : (
<ChevronsUpDown className="text-base h-5 w-5" />
)}