perf: css cleanup

This commit is contained in:
David Ralph
2021-04-19 14:13:47 +01:00
parent cb6e9ddf9c
commit 34aa72191b
5 changed files with 51 additions and 104 deletions

View File

@@ -24,6 +24,6 @@ export default class FileUpload extends React.PureComponent {
}
render() {
return <input id={this.props.id} type='file' className='hidden' accept={this.props.accept} />;
return <input id={this.props.id} type='file' style={{ display: 'none' }} accept={this.props.accept} />;
}
}