From fa35a64d750e87339ab87e5bcaf777e6c764d9a0 Mon Sep 17 00:00:00 2001 From: MateuszMichalowski <79852198+MateuszMichalowski@users.noreply.github.com> Date: Mon, 26 Aug 2024 16:43:16 +0200 Subject: [PATCH] fix(frontend): style fixes (#3360) * fix(frontend): fixes after feedback * fix(frontend): fixes after feedback * fix(frontend): fixes after feedback * fix(frontend): fixes after feedback and iternal tests * fix(frontend): User bigger icon in Transaction component --- .../ContributionMessagesFormular.vue | 4 ++-- .../ContributionMessagesListItem.vue | 8 +++++++- .../Contributions/ContributionForm.vue | 5 +++-- .../Contributions/ContributionListItem.vue | 4 ++-- frontend/src/components/Message/Message.vue | 15 +++++++++++---- frontend/src/components/Transaction.vue | 16 +++++++++++++--- frontend/src/layouts/AuthLayout.vue | 9 +++++++++ frontend/src/locales/de.json | 1 + frontend/src/locales/en.json | 1 + frontend/src/locales/es.json | 1 + frontend/src/locales/fr.json | 1 + frontend/src/locales/nl.json | 1 + frontend/src/locales/tr.json | 1 + frontend/src/pages/ForgotPassword.vue | 7 ++++++- frontend/src/pages/Settings.vue | 5 +++++ 15 files changed, 64 insertions(+), 15 deletions(-) diff --git a/frontend/src/components/ContributionMessages/ContributionMessagesFormular.vue b/frontend/src/components/ContributionMessages/ContributionMessagesFormular.vue index e211b748e..85363665f 100644 --- a/frontend/src/components/ContributionMessages/ContributionMessagesFormular.vue +++ b/frontend/src/components/ContributionMessages/ContributionMessagesFormular.vue @@ -7,9 +7,9 @@ id="textarea" :model-value="form.text" :placeholder="$t('form.memo')" - rows="3" + :rows="3" @update:model-value="form.text = $event" - > + /> {{ $t('form.cancel') }} diff --git a/frontend/src/components/ContributionMessages/ContributionMessagesListItem.vue b/frontend/src/components/ContributionMessages/ContributionMessagesListItem.vue index 5f59d65d1..e1a8a3250 100644 --- a/frontend/src/components/ContributionMessages/ContributionMessagesListItem.vue +++ b/frontend/src/components/ContributionMessages/ContributionMessagesListItem.vue @@ -33,7 +33,7 @@
- + @@ -88,3 +88,9 @@ export default { }, } + + diff --git a/frontend/src/components/Contributions/ContributionForm.vue b/frontend/src/components/Contributions/ContributionForm.vue index 001ec485e..4a44e03b7 100644 --- a/frontend/src/components/Contributions/ContributionForm.vue +++ b/frontend/src/components/Contributions/ContributionForm.vue @@ -50,6 +50,7 @@ /> - + - +
{{ firstName }} {{ lastName }} - +
{{ $d(new Date(contributionDate), 'short') }} @@ -32,7 +32,7 @@
{{ $t('contribution.alert.answerQuestion') }} diff --git a/frontend/src/components/Message/Message.vue b/frontend/src/components/Message/Message.vue index 96faf5b9f..1b112dd76 100644 --- a/frontend/src/components/Message/Message.vue +++ b/frontend/src/components/Message/Message.vue @@ -1,16 +1,16 @@ @@ -32,5 +32,12 @@ export default { return this.linkTo ? this.linkTo : null }, }, + methods: { + handleNavigation() { + if (this.buttonLinkTo) { + this.$router.push(this.buttonLinkTo) + } + }, + }, } diff --git a/frontend/src/components/Transaction.vue b/frontend/src/components/Transaction.vue index 87412b848..e30ed63b4 100644 --- a/frontend/src/components/Transaction.vue +++ b/frontend/src/components/Transaction.vue @@ -1,12 +1,15 @@