Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
cdriesler committed Aug 21, 2023
1 parent 2986753 commit cba1080
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,11 @@ export const GenericNodeRuntimeMessage = ({ node }: GenericNodeRuntimeMessagePro
>
{getNodeRuntimeMessageBubble(node, messageColors[visibleMessageLevel])}
<rect
className={`${visibleMessageLevel === 'error'
className={`${
visibleMessageLevel === 'error'
? 'np-fill-error hover:np-fill-error-2'
: 'np-fill-warn hover:np-fill-warn-2'
} hover:np-cursor-pointer np-pointer-events-auto`}
} hover:np-cursor-pointer np-pointer-events-auto`}
x={x + dx + 3 - s / 2}
y={y + dy - 3 - s}
width={s - 6}
Expand All @@ -88,8 +89,9 @@ export const GenericNodeRuntimeMessage = ({ node }: GenericNodeRuntimeMessagePro
width={24}
height={24}
style={{
transform: `translate(${node.position.x + node.anchors['labelDeltaX'].dx - 12}px, ${node.position.y - 44
}px)`,
transform: `translate(${node.position.x + node.anchors['labelDeltaX'].dx - 12}px, ${
node.position.y - 44
}px)`,
}}
aria-hidden="true"
fill="none"
Expand Down
1 change: 1 addition & 0 deletions packages/nodes/src/views/components/dialog/Dialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export const Dialog = ({ title, onClose, children }: DialogProps) => {
onClick={() => {
onClose()
}}
role="presentation"
></div>
<div className="np-absolute np-left-0 np-top-0 np-w-full np-h-full np-z-10 np-pointer-events-none">
<div className="np-w-full np-h-full np-flex np-justify-center np-items-center">
Expand Down

0 comments on commit cba1080

Please sign in to comment.