UX: fix alignment issues with autocomplete (#19828)

This commit is contained in:
chapoi 2023-01-15 23:09:23 +01:00 committed by GitHub
parent 29f7ec7090
commit d59ed1cbfe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 5 deletions

View File

@ -1,16 +1,20 @@
{{#if this.item.isUser}}
{{avatar this.item imageSize="tiny"}}
<span class="identifier">{{format-username this.item.id}}</span>
<span class="name">{{this.item.name}}</span>
<div>
<span class="identifier">{{format-username this.item.id}}</span>
<span class="name">{{this.item.name}}</span>
</div>
{{#if (and this.item.showUserStatus this.item.status)}}
<UserStatusMessage @status={{this.item.status}} @showDescription={{true}} />
{{/if}}
{{decorate-username-selector this.item.id}}
{{else if this.item.isGroup}}
{{d-icon "users"}}
<span class="identifier">{{this.item.id}}</span>
<span class="name">{{this.item.full_name}}</span>
<div>
<span class="identifier">{{this.item.id}}</span>
<span class="name">{{this.item.full_name}}</span>
</div>
{{else}}
{{d-icon "envelope"}}
<span class="identifier">{{this.item.id}}</span>
{{/if}}
{{/if}}