Skip to content

armgit / plane

Public Imported from GitHub
0

πŸ”₯πŸ”₯πŸ”₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.

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

JayashTripathy084cc75726da
diff --git a/web/core/components/empty-state/detailed-empty-state-root.tsx b/web/core/components/empty-state/detailed-empty-state-root.tsx
index 887a1eb422..4ae97e839c 100644
--- a/web/core/components/empty-state/detailed-empty-state-root.tsx
+++ b/web/core/components/empty-state/detailed-empty-state-root.tsx
@@ -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">