mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-21 22:51:12 -05:00
Refactor: Standardize card and grid layouts
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user