balibabu commited on
Commit
886bc17
·
1 Parent(s): 83a0020

feat: when a node of the graph is selected, the border of the node is highlighted. #918 (#1125)

Browse files

### What problem does this PR solve?

feat: when a node of the graph is selected, the border of the node is
highlighted. #918

### Type of change


- [x] New Feature (non-breaking change which adds functionality)

web/src/pages/flow/canvas/node/index.less CHANGED
@@ -15,7 +15,7 @@
15
  }
16
  }
17
  .selectedNode {
18
- border-color: #1677ff;
19
  }
20
 
21
  .handle {
 
15
  }
16
  }
17
  .selectedNode {
18
+ border: 1px solid rgb(59, 118, 244);
19
  }
20
 
21
  .handle {
web/src/pages/flow/canvas/node/index.tsx CHANGED
@@ -38,7 +38,7 @@ export function TextUpdaterNode({
38
  </Handle>
39
  <Handle type="source" position={Position.Bottom} id="a" isConnectable />
40
  <div>
41
- <Space>
42
  <OperatorIcon
43
  name={data.label as Operator}
44
  fontSize={12}
 
38
  </Handle>
39
  <Handle type="source" position={Position.Bottom} id="a" isConnectable />
40
  <div>
41
+ <Space size={4}>
42
  <OperatorIcon
43
  name={data.label as Operator}
44
  fontSize={12}