aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/components/fields/ButtonField.js
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/components/fields/ButtonField.js')
-rw-r--r--frontend/src/components/fields/ButtonField.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/frontend/src/components/fields/ButtonField.js b/frontend/src/components/fields/ButtonField.js
index 193339c..850f837 100644
--- a/frontend/src/components/fields/ButtonField.js
+++ b/frontend/src/components/fields/ButtonField.js
@@ -55,7 +55,8 @@ class ButtonField extends Component {
}
return (
- <div className={classNames("field", "button-field", {"field-small": this.props.small})}>
+ <div className={classNames("field", "button-field", {"field-small": this.props.small},
+ {"field-active": this.props.active})}>
<button type="button" className={classNames(buttonClassnames)}
onClick={handler} style={buttonStyle}>{this.props.name}</button>
</div>