File tree Expand file tree Collapse file tree
apps/sim/app/workspace/[workspaceId]/files/components/file-viewer Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -447,23 +447,8 @@ const MermaidDiagram = memo(function MermaidDiagram({
447447 if ( ! trimmedDefinition || ! svg || renderedDefinition !== trimmedDefinition ) {
448448 if ( zoomable ) {
449449 return (
450- < div className = 'flex h-full items-center justify-center bg-[var(--surface-1)] p-8' >
451- < div
452- className = 'w-full max-w-[720px] shrink-0 rounded-md bg-[var(--surface-2)] p-8 shadow-medium'
453- style = { { aspectRatio : '4 / 3' } }
454- >
455- < div className = 'flex h-full flex-col justify-between' >
456- < div className = 'flex flex-col gap-3' >
457- < Skeleton className = 'h-[18px] w-[45%]' />
458- < Skeleton className = 'h-[14px] w-[65%]' />
459- < Skeleton className = 'h-[14px] w-[55%]' />
460- </ div >
461- < div className = 'flex flex-col gap-2' >
462- < Skeleton className = 'h-[14px] w-[75%]' />
463- < Skeleton className = 'h-[14px] w-[60%]' />
464- </ div >
465- </ div >
466- </ div >
450+ < div className = 'h-full p-6' >
451+ < Skeleton className = 'h-full w-full rounded-lg' />
467452 </ div >
468453 )
469454 }
You can’t perform that action at this time.
0 commit comments