Getting Started -> Building a Flow -> Adding Nodes: resolve issue that only narrow row/strip is rendered, by using 100vh

master
Jason Zhu 2023-05-29 19:41:48 +10:00
parent ba8ab73716
commit eb4286d453
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ const nodes = [
const Flow = () => {
return (
<div style={{ height: 100 }}>
<div style={{ height: '100vh' }}>
<ReactFlow nodes={nodes}>
<Background />
<Controls />