change uploader copy, change uploader style

This commit is contained in:
catarak 2016-07-19 21:42:33 -04:00
parent 7e6bbb1fae
commit ceccef3cc3
2 changed files with 4 additions and 2 deletions

View file

@ -17,9 +17,10 @@ class FileUploader extends React.Component {
parallelUploads: 1, parallelUploads: 1,
maxFilesize: 10, // in mb maxFilesize: 10, // in mb
maxThumbnailFilesize: 8, // 3MB maxThumbnailFilesize: 8, // 3MB
thumbnailWidth: 150, thumbnailWidth: 200,
thumbnailHeight: 150, thumbnailHeight: 200,
acceptedMimeTypes: 'image/bmp,image/gif,image/jpg,image/jpeg,image/png', acceptedMimeTypes: 'image/bmp,image/gif,image/jpg,image/jpeg,image/png',
dictDefaultMessage: 'Drop files here to upload or click to use the file browser',
accept: this.props.dropzoneAcceptCallback, accept: this.props.dropzoneAcceptCallback,
sending: this.props.dropzoneSendingCallback, sending: this.props.dropzoneSendingCallback,
complete: this.props.dropzoneCompleteCallback complete: this.props.dropzoneCompleteCallback

View file

@ -43,4 +43,5 @@
.uploader { .uploader {
height: #{200 / $base-font-size}rem; height: #{200 / $base-font-size}rem;
width: 100%; width: 100%;
text-align: center;
} }