file upload icon instead of text

master
f0x 5 years ago
parent ed62b9ce27
commit 29cf53ac6a

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

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

Loading…
Cancel
Save