Refactor: Standardize card and grid layouts

This commit is contained in:
gpt-engineer-app[bot]
2025-10-17 22:18:31 +00:00
parent 9dff5a3e2b
commit fc53015448
9 changed files with 18 additions and 18 deletions

View File

@@ -26,7 +26,7 @@ export function DesignerCard({ company }: DesignerCardProps) {
onClick={handleClick}
>
{/* Header Image/Logo Section */}
<div className="relative aspect-video bg-gradient-to-br from-background to-muted/50 flex items-center justify-center border-b border-border">
<div className="relative aspect-[4/3] bg-gradient-to-br from-background to-muted/50 flex items-center justify-center border-b border-border">
{/* Background Gradient Overlay */}
<div className="absolute inset-0 bg-gradient-to-br from-primary/5 via-transparent to-accent/5" />
@@ -54,9 +54,9 @@ export function DesignerCard({ company }: DesignerCardProps) {
</div>
</div>
<CardContent className="p-6 space-y-4">
<CardContent className="p-4 space-y-3">
{/* Company Name */}
<h3 className="font-semibold text-lg mb-2 group-hover:text-primary transition-colors line-clamp-1">
<h3 className="font-semibold text-lg mb-2 group-hover:text-primary transition-colors line-clamp-2 min-h-[3.5rem]">
{company.name}
</h3>