darabos commited on
Commit
744871e
·
1 Parent(s): c023d0c

Temporary solution for area node z order.

Browse files
Files changed (1) hide show
  1. web/src/app.scss +8 -0
web/src/app.scss CHANGED
@@ -24,6 +24,14 @@ path.svelte-flow__edge-path {
24
  stroke: none;
25
  fill: black;
26
  }
 
 
 
 
 
 
 
 
27
  .selected .lynxkite-node {
28
  outline: var(--xy-selection-border, var(--xy-selection-border-default));
29
  outline-offset: 7.5px;
 
24
  stroke: none;
25
  fill: black;
26
  }
27
+ // We want the area node to be above the sub-flow node if its inside the sub-flow.
28
+ // This will need some more thinking for a general solution.
29
+ .svelte-flow__node-sub_flow {
30
+ z-index: -20 !important;
31
+ }
32
+ .svelte-flow__node-area {
33
+ z-index: -10 !important;
34
+ }
35
  .selected .lynxkite-node {
36
  outline: var(--xy-selection-border, var(--xy-selection-border-default));
37
  outline-offset: 7.5px;