Skip to content

Commit

Permalink
Removed flex container for static graph to prevent bad first renders
Browse files Browse the repository at this point in the history
Signed-off-by: Jason Porter <jason@union.ai>
  • Loading branch information
jsonporter committed Sep 24, 2021
1 parent e9f283c commit 8953f62
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/components/Workflow/StaticGraphContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,7 @@ export const StaticGraphContainer: React.FC<StaticGraphContainerProps> = ({
workflowId
}) => {
const containerStyle: React.CSSProperties = {
display: 'flex',
flexDirection: 'column',
flex: `1 1 100%`,
height: 300,
minHeight: 300,
padding: '1rem 0'
};
Expand Down

0 comments on commit 8953f62

Please sign in to comment.