diff --git a/src/components/Form/Select/index.js b/src/components/Form/Select/index.js index 06fa07944..ac512f616 100644 --- a/src/components/Form/Select/index.js +++ b/src/components/Form/Select/index.js @@ -3,29 +3,41 @@ import { SelectField as Select, MenuItem } from 'material-ui' import { FormControl, FormLabel } from 'components/material-ui' import s from './styles.css' +const styles = { + style: { + }, + labelStyle: { + fontSize: 14, + fontWeight: 500, + }, + menuItemStyle: { + fontSize: 14, + fontWeight: 500, + }, + underlineStyle: { + borderBottom: 0 + } +} + export default class SelectField extends React.Component { - onChange = evt => this.props.onChange(this.props.name, evt.target.value) + onChange = (evt, index, value) => this.props.onChange(this.props.name, value) render() { const { name, label, values, selected } = this.props return ( - - {label} + + {label} diff --git a/src/components/Form/Select/styles.css b/src/components/Form/Select/styles.css index f4d4291e0..dca5d953e 100644 --- a/src/components/Form/Select/styles.css +++ b/src/components/Form/Select/styles.css @@ -1,5 +1,5 @@ form .formControl { - margin-top: 4px; + margin-top: 15px; } form .formLabel { @@ -11,7 +11,6 @@ form .formLabel { } form .formLabel + div { - margin-top: 6px; width: auto !important; }