UX: fix alignment issues with autocomplete (#19828)
This commit is contained in:
parent
29f7ec7090
commit
d59ed1cbfe
|
@ -1,16 +1,20 @@
|
||||||
{{#if this.item.isUser}}
|
{{#if this.item.isUser}}
|
||||||
{{avatar this.item imageSize="tiny"}}
|
{{avatar this.item imageSize="tiny"}}
|
||||||
<span class="identifier">{{format-username this.item.id}}</span>
|
<div>
|
||||||
<span class="name">{{this.item.name}}</span>
|
<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)}}
|
{{#if (and this.item.showUserStatus this.item.status)}}
|
||||||
<UserStatusMessage @status={{this.item.status}} @showDescription={{true}} />
|
<UserStatusMessage @status={{this.item.status}} @showDescription={{true}} />
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{decorate-username-selector this.item.id}}
|
{{decorate-username-selector this.item.id}}
|
||||||
{{else if this.item.isGroup}}
|
{{else if this.item.isGroup}}
|
||||||
{{d-icon "users"}}
|
{{d-icon "users"}}
|
||||||
<span class="identifier">{{this.item.id}}</span>
|
<div>
|
||||||
<span class="name">{{this.item.full_name}}</span>
|
<span class="identifier">{{this.item.id}}</span>
|
||||||
|
<span class="name">{{this.item.full_name}}</span>
|
||||||
|
</div>
|
||||||
{{else}}
|
{{else}}
|
||||||
{{d-icon "envelope"}}
|
{{d-icon "envelope"}}
|
||||||
<span class="identifier">{{this.item.id}}</span>
|
<span class="identifier">{{this.item.id}}</span>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
Loading…
Reference in New Issue