From 02931ec0cd93a81cd524b070c12b9e9f48c2910e Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Wed, 30 Jun 2021 16:17:29 +0200 Subject: [PATCH] Improve UI for participations when message is too long Add a button to make the details more discoverable Closes #452 Signed-off-by: Thomas Citharel --- js/src/views/Event/Participants.vue | 50 +++++++++++++++++++++++++---- 1 file changed, 43 insertions(+), 7 deletions(-) diff --git a/js/src/views/Event/Participants.vue b/js/src/views/Event/Participants.vue index bb71a4417..328a9dc74 100644 --- a/js/src/views/Event/Participants.vue +++ b/js/src/views/Event/Participants.vue @@ -109,7 +109,7 @@ props.row.actor.name }}
- @{{ usernameWithDomain(props.row.actor) }} @@ -148,10 +148,11 @@ - - {{ props.row.metadata.message | ellipsize }} - - +

+ {{ props.row.metadata.message | ellipsize }} +

+ + +

{{ $t("No message") }} - +

@@ -177,7 +192,7 @@