grid: match docket image to tile image

As in #5322 305cd0b, but for the app icon that shows in leap.
This commit is contained in:
fang 2021-10-24 23:02:57 +02:00 committed by GitHub
parent f53a43c2f0
commit db7901ac87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,7 +25,7 @@ export function DocketImage({ color, image, className = '', size = 'full' }: Doc
style={{ backgroundColor: tileColor }} style={{ backgroundColor: tileColor }}
> >
{image && ( {image && (
<img className="absolute top-0 left-0 h-full w-full object-contain" src={image} alt="" /> <img className="absolute top-0 left-0 h-full w-full object-cover" src={image} alt="" />
)} )}
</div> </div>
); );