fix width issue on project cards
This commit is contained in:
@@ -11,18 +11,16 @@ export default function Project({
|
|||||||
}) {
|
}) {
|
||||||
return (
|
return (
|
||||||
<a href={urlTo} target="_blank">
|
<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
|
<img
|
||||||
src={image}
|
src={image}
|
||||||
alt={name}
|
alt={name}
|
||||||
className="w-full h-24 object-cover"
|
className="w-full h-24 object-cover"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<div className="p-4 space-y-2">
|
<div className="p-4 space-y-2">
|
||||||
<h3 className="text-xl font-bold">{name}</h3>
|
<h1 className="font-bold text-xl">{name}</h1>
|
||||||
<p className="text-muted-foreground">
|
<p>{description}</p>
|
||||||
{description}
|
|
||||||
</p>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
|
|||||||
Reference in New Issue
Block a user