Improve input styling (it is still hacky)

This commit is contained in:
Lukas Martinelli 2016-12-26 12:03:12 +01:00
parent 916c1dc9fc
commit acac314d27
2 changed files with 3 additions and 3 deletions

View file

@ -90,7 +90,7 @@ class ColorField extends React.Component {
ref="colorInput"
onClick={this.togglePicker.bind(this)}
style={{
...input.select,
...input.input,
...this.props.style
}}
name={this.props.name}

View file

@ -38,8 +38,8 @@ const checkbox = {
const select = {
...input,
width: '51%',
height: '2.3em',
width: '50%',
height: '2.15em',
}
export default {