Some input style fine-tuning.

This commit is contained in:
Matt Swensen 2018-10-29 20:47:12 -06:00
parent 63271f2129
commit 7e30008ff9
No known key found for this signature in database
GPG Key ID: 3F9E482BFC526F35
2 changed files with 3 additions and 3 deletions

@ -12,7 +12,7 @@ export default class ColorInput extends PureComponent {
<div className={ [styles.outerWrapper, this.props.className].join(' ') } style={ this.props.style }>
<div className={ styles.inputsWrapper }>
<label className={ styles.textInputWrapper } style={{ color: getColor('shade7') }}>
<span className={ styles.label }>{ this.props.colorKey }</span>
<span className={ styles.label }>{ this.props.colorKey }:</span>
<input
type="text"
className={ styles.textInput }

@ -8,8 +8,7 @@
}
.label {
display: inline-block;
width: 8ch;
margin-right: 0.5rem;
}
.textInputWrapper {
@ -56,4 +55,5 @@
.help {
font-size: 0.75rem;
margin-top: 0.25rem;
}