From 36326a2a703c27f4c14df4c0545f0a1fe84408a3 Mon Sep 17 00:00:00 2001 From: Mathieu Jaumotte Date: Mon, 10 May 2021 13:27:41 +0200 Subject: [PATCH] improve suggestions display, with more details, and different according to the entity --- .../Resources/public/scss/chillmain.scss | 10 ++++++++-- .../vuejs/_components/PersonSuggestion/Person.vue | 7 ++++++- .../vuejs/_components/PersonSuggestion/ThirdParty.vue | 8 +++++++- 3 files changed, 21 insertions(+), 4 deletions(-) diff --git a/src/Bundle/ChillMainBundle/Resources/public/scss/chillmain.scss b/src/Bundle/ChillMainBundle/Resources/public/scss/chillmain.scss index 9ae26379e..17fab18f4 100644 --- a/src/Bundle/ChillMainBundle/Resources/public/scss/chillmain.scss +++ b/src/Bundle/ChillMainBundle/Resources/public/scss/chillmain.scss @@ -152,9 +152,15 @@ div.results { background-color: #ececec; border-bottom: 1px dotted #8b8b8b; } + & > input { + margin-right: 0.8em; + } div.container { - & > input { - margin-right: 0.8em; + span:not(.name) { + margin-left: 0.5em; + opacity: 0.5; + font-size: 90%; + font-style: italic; } } div.right_actions { diff --git a/src/Bundle/ChillPersonBundle/Resources/public/vuejs/_components/PersonSuggestion/Person.vue b/src/Bundle/ChillPersonBundle/Resources/public/vuejs/_components/PersonSuggestion/Person.vue index bd8063818..3b6f9c020 100644 --- a/src/Bundle/ChillPersonBundle/Resources/public/vuejs/_components/PersonSuggestion/Person.vue +++ b/src/Bundle/ChillPersonBundle/Resources/public/vuejs/_components/PersonSuggestion/Person.vue @@ -1,7 +1,12 @@