Getting Started -> Building a Flow -> Adding Nodes: resolve issue that only narrow row/strip is rendered, by using 100vh
parent
ba8ab73716
commit
eb4286d453
|
@ -19,7 +19,7 @@ const nodes = [
|
|||
|
||||
const Flow = () => {
|
||||
return (
|
||||
<div style={{ height: 100 }}>
|
||||
<div style={{ height: '100vh' }}>
|
||||
<ReactFlow nodes={nodes}>
|
||||
<Background />
|
||||
<Controls />
|
||||
|
|
Loading…
Reference in New Issue