refactor: update content card and list layout for better responsiveness

- Removed unused aspect-video class from content card layout.
- Improved content list layout by switching to a responsive grid system.
This commit is contained in:
Mathis HERRIOT
2026-01-28 15:39:44 +01:00
parent 0144421f03
commit 8df6d15b19
2 changed files with 3 additions and 3 deletions

View File

@@ -158,7 +158,7 @@ export function ContentCard({ content, onUpdate }: ContentCardProps) {
</DropdownMenu>
</div>
</CardHeader>
<CardContent className="p-0 relative bg-zinc-200 dark:bg-zinc-900 aspect-square sm:aspect-video md:aspect-square flex items-center justify-center">
<CardContent className="p-0 relative bg-zinc-200 dark:bg-zinc-900 aspect-square flex items-center justify-center">
<Link href={`/meme/${content.slug}`} className="w-full h-full relative">
{content.mimeType.startsWith("image/") ? (
<Image