Update border on image widget, tweak the copy

This commit is contained in:
Rafael Conde
2017-05-11 08:45:19 -07:00
parent cb45997c24
commit e2120910f6

View File

@ -96,7 +96,7 @@ export default class ImageControl extends React.Component {
onDrop={this.handleChange} onDrop={this.handleChange}
> >
<span style={styles.message} onClick={this.handleClick}> <span style={styles.message} onClick={this.handleClick}>
{imageName ? imageName : 'Tip: Click here to upload an image from your file browser, or drag an image directly into this box from your desktop'} {imageName ? imageName : 'Click here to upload an image from your computer, or drag and drop a file directly into this box'}
</span> </span>
<input <input
type="file" type="file"
@ -123,7 +123,8 @@ const styles = {
backgroundColor: '#fff', backgroundColor: '#fff',
textAlign: 'center', textAlign: 'center',
color: '#999', color: '#999',
border: '1px dashed #eee', border: '2px dashed rgba(0, 0, 0, .15)',
borderRadius: '4px',
cursor: 'pointer', cursor: 'pointer',
}, },
}; };