mirror of
https://github.com/urbit/shrub.git
synced 2024-12-19 08:32:39 +03:00
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:
parent
f53a43c2f0
commit
db7901ac87
@ -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>
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user