Skip to content

Commit

Permalink
fix(growthHack): fix dissappearing edit template button
Browse files Browse the repository at this point in the history
  • Loading branch information
ganzorig committed Mar 10, 2021
1 parent 134925f commit 0f5d670
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
1 change: 1 addition & 0 deletions ui/src/modules/settings/boards/styles.ts
Expand Up @@ -50,6 +50,7 @@ const StageItemContainer = styled.div`
button {
padding: 3px;
font-size: 16px;
margin: 0;
}
button:hover {
Expand Down
11 changes: 5 additions & 6 deletions ui/src/modules/settings/growthHacks/components/StageItem.tsx
Expand Up @@ -37,17 +37,16 @@ class StageItem extends React.Component<Props, {}> {
name="name"
onChange={onChangeName.bind(this, stage._id)}
/>

<Button btnStyle="link" onClick={onBuildClick}>
<Tip text="Build a form">
<Tip text="Build a form">
<Button btnStyle="link" onClick={onBuildClick}>
<Icon
icon={stage.formId ? 'file-edit-3' : 'file-plus-alt'}
icon={stage.formId ? 'file-edit-alt' : 'file-plus-alt'}
color={
stage.formId ? colors.colorSecondary : colors.colorCoreGreen
}
/>
</Tip>
</Button>
</Button>
</Tip>

<Button
btnStyle="link"
Expand Down

0 comments on commit 0f5d670

Please sign in to comment.