diff --git a/packages/@uppy/dashboard/src/components/AddFiles.js b/packages/@uppy/dashboard/src/components/AddFiles.js index 61d9d80aa..cc5bc7820 100644 --- a/packages/@uppy/dashboard/src/components/AddFiles.js +++ b/packages/@uppy/dashboard/src/components/AddFiles.js @@ -19,18 +19,21 @@ class AddFiles extends Component { } render () { - const isHidden = Object.keys(this.props.files).length === 0 + // const isHidden = Object.keys(this.props.files).length === 0 const hasAcquirers = this.props.acquirers.length !== 0 if (!hasAcquirers) { return ( -
-
+
+
+ i18nArray={this.props.i18nArray} + allowedFileTypes={this.props.allowedFileTypes} + maxNumberOfFiles={this.props.maxNumberOfFiles} + />
) diff --git a/packages/@uppy/dashboard/src/style.scss b/packages/@uppy/dashboard/src/style.scss index e3fd338cf..381a540f6 100644 --- a/packages/@uppy/dashboard/src/style.scss +++ b/packages/@uppy/dashboard/src/style.scss @@ -231,6 +231,7 @@ max-height: 300px; overflow-x: auto; -webkit-overflow-scrolling: touch; + margin-top: 10px; .uppy-size--md & { flex-direction: row; @@ -238,6 +239,7 @@ justify-content: center; max-width: 600px; overflow-x: initial; + margin-top: 30px; } } @@ -544,13 +546,13 @@ font-weight: 400; color: $color-asphalt-gray; margin: auto; - margin-bottom: 10px; + // margin-bottom: 10px; padding: 0 15px; .uppy-size--md & { max-width: 400px; font-size: 27px; - margin-bottom: 30px; + // margin-bottom: 30px; } }