file upload icon instead of text

master
f0x 5 years ago
parent ed62b9ce27
commit 29cf53ac6a

@ -37,7 +37,7 @@ let fileUpload = create({
return (
<div className="fileUpload">
<input type="file" id="fileUpload" multiple ref={this.setFileRef} />
<label htmlFor="fileUpload">file</label>
<label htmlFor="fileUpload"><img src="/icons/file.svg"/></label>
</div>
)
}

@ -415,6 +415,9 @@ body {
input {
display: none;
}
label img {
height: 1.5em;
}
}
.content {

Loading…
Cancel
Save