Skip to content

Commit

Permalink
Merge pull request #79 from AElfProject/fix/card-height-shadow
Browse files Browse the repository at this point in the history
fix: card height and shadow
  • Loading branch information
AbigailDeng authored Aug 2, 2024
2 parents 89dfd9b + 8afa027 commit 6e5b0a3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions components/ui/card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ const Card = React.forwardRef<
>(({ className, ...props }, ref) => (
<div
ref={ref}
className={cn("bg-card text-card-foreground shadow-sm", className)}
className={cn(
"bg-card text-card-foreground shadow-sm rounded-lg",
className
)}
{...props}
/>
));
Expand All @@ -21,7 +24,7 @@ const CardHeader = React.forwardRef<
<div
ref={ref}
className={cn(
"flex flex-col space-y-1.5 p-6 bg-card-background-color rounded-lg border border-card-border-color hover:border-card-hover-border-color ",
"flex flex-col space-y-1.5 p-6 bg-card-background-color rounded-lg border border-card-border-color hover:border-card-hover-border-color h-full",
className
)}
{...props}
Expand Down

0 comments on commit 6e5b0a3

Please sign in to comment.