Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ const WorkflowEditorLayout = ({includeComponents, runDisabled, showWorkflowInput

{currentComponent && (
<>
<Suspense fallback={<WorkflowNodeDetailsPanelSkeleton />}>
<Suspense fallback={<WorkflowNodeDetailsPanelSkeleton className="right-0" />}>
<WorkflowNodeDetailsPanel
className="fixed inset-y-0 right-0 rounded-l-none border-none"
invalidateWorkflowQueries={invalidateWorkflowQueries!}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ import LoadingDots from '@/components/LoadingDots';
import {Skeleton} from '@/components/ui/skeleton';
import {twMerge} from 'tailwind-merge';

export const WorkflowNodeDetailsPanelSkeleton = () => (
export const WorkflowNodeDetailsPanelSkeleton = ({className}: {className?: string}) => (
<div
className={twMerge(
'absolute bottom-6 right-[69px] top-2 z-10 flex w-screen max-w-workflow-node-details-panel-width flex-col gap-2 overflow-hidden rounded-md border border-stroke-neutral-secondary bg-background p-4'
'absolute bottom-6 right-[69px] top-2 z-10 flex w-screen max-w-workflow-node-details-panel-width flex-col gap-2 overflow-hidden rounded-md border border-stroke-neutral-secondary bg-background p-4',
className
)}
>
<Skeleton className="h-8 w-3/4" />
Expand Down
Loading