fix width issue on project cards

This commit is contained in:
2024-10-13 01:43:33 -04:00
parent 561a5318f0
commit f420cec12a
+3 -5
View File
@@ -11,7 +11,7 @@ export default function Project({
}) {
return (
<a href={urlTo} target="_blank">
<div className="bg-white text-black mx-auto rounded-lg overflow-hidden max-w-fit lg:max-w-full">
<div className="bg-white text-black mx-auto rounded-lg overflow-hidden max-w-full">
<img
src={image}
alt={name}
@@ -19,10 +19,8 @@ export default function Project({
/>
<div className="p-4 space-y-2">
<h3 className="text-xl font-bold">{name}</h3>
<p className="text-muted-foreground">
{description}
</p>
<h1 className="font-bold text-xl">{name}</h1>
<p>{description}</p>
</div>
</div>
</a>