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 4aafe698e8..a2fb7cfe0e 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 4225756397..11d50673d4 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%; }