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" ref="colorInput"
onClick={this.togglePicker.bind(this)} onClick={this.togglePicker.bind(this)}
style={{ style={{
...input.select, ...input.input,
...this.props.style ...this.props.style
}} }}
name={this.props.name} name={this.props.name}

View file

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