update template image object-fit (#1743)

This commit is contained in:
Shuchang Zheng
2025-02-07 04:23:14 +08:00
committed by GitHub
parent 81b1151257
commit 292f75f72f

View File

@@ -8,7 +8,7 @@ function WorkflowTemplateCard({ title, image, onClick }: Props) {
return (
<div className="h-48 w-56 cursor-pointer rounded-xl" onClick={onClick}>
<div className="h-28 rounded-t-xl bg-slate-elevation1 px-6 pt-6">
<img src={image} alt={title} className="h-full w-full object-cover" />
<img src={image} alt={title} className="h-full w-full object-contain" />
</div>
<div className="h-20 space-y-1 rounded-b-xl bg-slate-elevation2 p-3">
<h1