Skip to content

Commit ceb73c1

Browse files
waleedlatif1emir-karabeg
authored andcommitted
fix(ui): render block handles underneath current block content (#3611)
* fix(ui): render block handles underneath current block content * fix(ui): use z-[0] instead of z-[-1] for handle z-index
1 parent c56ea0a commit ceb73c1

File tree

1 file changed

+1
-1
lines changed
  • apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/workflow-block

1 file changed

+1
-1
lines changed

apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/workflow-block/workflow-block.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1086,7 +1086,7 @@ export const WorkflowBlock = memo(function WorkflowBlock({
10861086
* Reusable styles and positioning for Handle components.
10871087
*/
10881088
const getHandleClasses = (position: 'left' | 'right' | 'top' | 'bottom', isError = false) => {
1089-
const baseClasses = '!z-[10] !cursor-crosshair !border-none !transition-[colors] !duration-150'
1089+
const baseClasses = '!z-[0] !cursor-crosshair !border-none !transition-[colors] !duration-150'
10901090
const colorClasses = isError ? '!bg-[var(--text-error)]' : '!bg-[var(--workflow-edge)]'
10911091

10921092
const positionClasses = {

0 commit comments

Comments
 (0)