mirror of
https://github.com/urbit/developers.urbit.org.git
synced 2024-09-11 13:55:59 +03:00
TallCard: wrap react elements in appropriate classes
This commit is contained in:
parent
3d877982a4
commit
a164f8c298
@ -15,10 +15,9 @@ export default function TallCard({
|
||||
<div key={title} className={`bg-wall-100 rounded-xl min-h-0 `}>
|
||||
<Link href={href}>
|
||||
<div className="flex flex-col space-y-4 p-6 justify-center items-center h-full relative">
|
||||
<img
|
||||
className="rounded-lg self-center overflow-hidden border-transparent border w-full shrink-0"
|
||||
src={image}
|
||||
/>
|
||||
<div className="rounded-lg self-center overflow-hidden border-transparent border w-full shrink-0">
|
||||
{image({ className: "w-full h-full" })}
|
||||
</div>
|
||||
<div className={`grow-1 flex flex-col h-full w-full`}>
|
||||
<h3 className="mb-2">{title}</h3>
|
||||
<p>{description}</p>
|
||||
|
Loading…
Reference in New Issue
Block a user