fix width issue on project cards
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user