[WEB-4092] fix:broken detailed empty state layout #7056

This commit is contained in:
JayashTripathy
2025-05-14 18:01:36 +05:30
committed by GitHub
parent 534f5c7dd0
commit 084cc75726

View File

@@ -85,7 +85,9 @@ export const DetailedEmptyState: React.FC<Props> = observer((props) => {
{description && <p className="text-sm">{description}</p>}
</div>
{assetPath && <Image src={assetPath} alt={title} width={384} height={250} lazyBoundary="100%" />}
{assetPath && (
<Image src={assetPath} alt={title} width={384} height={250} layout="responsive" lazyBoundary="100%" />
)}
{hasButtons && (
<div className="relative flex items-center justify-center gap-2 flex-shrink-0 w-full">