diff --git a/web/app/components/workflow/skill/editor/code-editor/plugins/remote-cursors.tsx b/web/app/components/workflow/skill/editor/code-editor/plugins/remote-cursors.tsx index 6f94bf9c42..4290beb694 100644 --- a/web/app/components/workflow/skill/editor/code-editor/plugins/remote-cursors.tsx +++ b/web/app/components/workflow/skill/editor/code-editor/plugins/remote-cursors.tsx @@ -369,8 +369,11 @@ export const useSkillCodeCursors = ({ editor, fileId, enabled }: UseSkillCodeCur }} />
diff --git a/web/app/components/workflow/skill/editor/skill-editor/plugins/remote-cursors/index.tsx b/web/app/components/workflow/skill/editor/skill-editor/plugins/remote-cursors/index.tsx index 96b1516171..a27db97c52 100644 --- a/web/app/components/workflow/skill/editor/skill-editor/plugins/remote-cursors/index.tsx +++ b/web/app/components/workflow/skill/editor/skill-editor/plugins/remote-cursors/index.tsx @@ -626,6 +626,9 @@ export const SkillRemoteCursors = ({ fileId, enabled }: SkillRemoteCursorsProps) const user = onlineUserMap[cursor.userId] const name = user?.username || cursor.userId.slice(-4) const color = getUserColor(cursor.userId) + const labelOffset = cursor.y < 20 + ? Math.max(cursor.height + 4, 18) + : -20 return (