improve suggestions display, with more details, and different according to the entity

This commit is contained in:
Mathieu Jaumotte 2021-05-10 13:27:41 +02:00
parent bfdfd19711
commit 36326a2a70
3 changed files with 21 additions and 4 deletions

View File

@ -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 {

View File

@ -1,7 +1,12 @@
<template>
<div class="container">
{{ item.result.text }}
<span class="name">
{{ item.result.text }}
</span>
<span class="birthday">
{{ $d(item.result.birthdate.datetime, 'short') }}
</span>
</div>
<div class="right_actions">

View File

@ -1,7 +1,13 @@
<template>
<div class="container">
{{ item.result.text }}
<span class="name">
{{ item.result.text }}
</span>
<span class="location">
{{ item.result.address.text }} -
{{ item.result.address.postcode.name }}
</span>
</div>
<div class="right_actions">