Improve style of Board component

This commit is contained in:
riggraz
2019-09-03 18:55:37 +02:00
parent 4a1378988a
commit 7a2b55ab51
4 changed files with 11 additions and 9 deletions

View File

@@ -135,7 +135,7 @@ class NewPost extends React.Component<Props, State> {
isLoggedIn ?
<button
onClick={this.toggleForm}
className="submitBtn btn btn-dark">
className={`submitBtn btn btn-${showForm ? 'outline-' : ''}dark`}>
{ showForm ? 'Cancel' : 'Submit feedback' }
</button>
: