diff --git a/.vscode/settings.json b/.vscode/settings.json index 2091e5e03..179c5ffe3 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -8,5 +8,8 @@ } ], "editor.formatOnSave": false, - "eslint.autoFixOnSave": true + "eslint.autoFixOnSave": true, + "editor.codeActionsOnSave": { + "source.fixAll.eslint": true + } } diff --git a/webapp/components/ContributionForm/ContributionForm.vue b/webapp/components/ContributionForm/ContributionForm.vue index 3e1a988b1..3bd709fd6 100644 --- a/webapp/components/ContributionForm/ContributionForm.vue +++ b/webapp/components/ContributionForm/ContributionForm.vue @@ -25,7 +25,11 @@

- + {{ $t('contribution.inappropriatePictureText') }} diff --git a/webapp/components/PostCard/PostCard.vue b/webapp/components/PostCard/PostCard.vue index 03abbf860..28588a277 100644 --- a/webapp/components/PostCard/PostCard.vue +++ b/webapp/components/PostCard/PostCard.vue @@ -148,7 +148,7 @@ export default { }, mounted() { const width = this.$el.offsetWidth - const height = Math.min(width / this.post.imageAspectRatio, 2000) + const height = Math.min(width / this.post.imageAspectRatio) const imageElement = this.$el.querySelector('.ds-card-image') if (imageElement) {