diff --git a/app/assets/javascripts/components/features/compose/components/upload_form.jsx b/app/assets/javascripts/components/features/compose/components/upload_form.jsx index 4aafe698e..a2fb7cfe0 100644 --- a/app/assets/javascripts/components/features/compose/components/upload_form.jsx +++ b/app/assets/javascripts/components/features/compose/components/upload_form.jsx @@ -18,7 +18,7 @@ class UploadForm extends React.PureComponent {
{({ scale }) => -
+
} diff --git a/app/assets/stylesheets/components.scss b/app/assets/stylesheets/components.scss index 422575639..11d50673d 100644 --- a/app/assets/stylesheets/components.scss +++ b/app/assets/stylesheets/components.scss @@ -274,6 +274,9 @@ .compose-form__upload-thumbnail { border-radius: 4px; + background-position: center; + background-size: cover; + background-repeat: no-repeat; height: 100px; width: 100%; }