From 5d5899ad0e77debcafbe3da47f92fbf2ff8338a0 Mon Sep 17 00:00:00 2001 From: ogerly Date: Fri, 23 Dec 2022 11:32:20 +0100 Subject: [PATCH] contribution messages style --- .../ContributionMessagesListItem.vue | 29 +++++++++---------- .../src/components/GddTransactionList.spec.js | 2 +- 2 files changed, 15 insertions(+), 16 deletions(-) diff --git a/frontend/src/components/ContributionMessages/ContributionMessagesListItem.vue b/frontend/src/components/ContributionMessages/ContributionMessagesListItem.vue index 85da0abc2..80e4c7978 100644 --- a/frontend/src/components/ContributionMessages/ContributionMessagesListItem.vue +++ b/frontend/src/components/ContributionMessages/ContributionMessagesListItem.vue @@ -2,34 +2,33 @@
- + +
{{ storeName.username }}
+
{{ $d(new Date(message.createdAt), 'short') }}
+ +
+ - - {{ storeName.username }} - - - {{ $d(new Date(message.createdAt), 'short') }} -
-
- + - {{ $t('community.moderator') }} - {{ moderationName.username }} - - - {{ $d(new Date(message.createdAt), 'short') }} +
+ {{ moderationName.username }} + {{ $t('community.moderator') }} +
+ +
{{ $d(new Date(message.createdAt), 'short') }}
+
-
diff --git a/frontend/src/components/GddTransactionList.spec.js b/frontend/src/components/GddTransactionList.spec.js index ac4c0431c..a8ae960b6 100644 --- a/frontend/src/components/GddTransactionList.spec.js +++ b/frontend/src/components/GddTransactionList.spec.js @@ -447,7 +447,7 @@ describe('GddTransactionList', () => { describe('next page button clicked', () => { beforeEach(async () => { jest.clearAllMocks() - // await wrapper.vm.$nextTick() + await wrapper.vm.$nextTick() await wrapper.findComponent({ name: 'BPagination' }).vm.$emit('input', 2) })