correctly apply asymetric paddings
This commit is contained in:
@@ -147,7 +147,8 @@ const BasicFlow = () => {
|
||||
maxZoom={4}
|
||||
fitView
|
||||
fitViewOptions={{
|
||||
padding: ['30%', '10%', '10%', '20%'],
|
||||
// top, right, bottom, left
|
||||
padding: ['100px', '0%', '0%', '50px'],
|
||||
}}
|
||||
defaultEdgeOptions={defaultEdgeOptions}
|
||||
selectNodesOnDrag={false}
|
||||
|
||||
Reference in New Issue
Block a user