Skip to content

Commit

Permalink
Fix UI glitch
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed Jan 5, 2021
1 parent 151a945 commit 7199443
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions webapp/src/components/Board.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -553,9 +553,14 @@ class Board extends Component<Props, State> {
]
})}

<div className=" flex mt-1 w-2 h-16 flex-no-shrink justify-center">
<div className="flex font-bold text-xl showme "><button className=" hover:text-gray-800 text-gray-500" onClick={() => this.setState({ showCreateSubWorkflowModal: true, createSubWorkflowWorkflowId: w.id })}>+</button></div>
</div>
{this.props.viewOnly && !this.props.demo ?
<div className="flex mt-1 w-2 h-16 flex-no-shrink justify-center">
</div>
:
<div className="flex mt-1 w-2 h-16 flex-no-shrink justify-center">
<div className="flex font-bold text-xl showme"><button className=" hover:text-gray-800 text-gray-500" onClick={() => this.setState({ showCreateSubWorkflowModal: true, createSubWorkflowWorkflowId: w.id })}>+</button></div>
</div>
}
{providedDroppable.placeholder}

</div>
Expand Down

0 comments on commit 7199443

Please sign in to comment.