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
  • Loading branch information
jsonporter committed Sep 24, 2021
1 parent e9b7a95 commit a5d532f
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 a5d532f

Please sign in to comment.