Skip to content

Commit

Permalink
fix(admin-ui): Fix layout of select customer dropdown items
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbromley committed Jul 12, 2023
1 parent c426f8d commit 3f8a1da
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,18 @@
[(ngModel)]="selectedCustomer"
>
<ng-template ng-label-tmp let-item="item" let-clear="clear">
<span class="item-row">
<clr-icon shape="user" class="is-solid"></clr-icon
><span class="ml2 mr2">{{ item.firstName }} {{ item.lastName }}</span>
><span class="mx-1">{{ item.firstName }} {{ item.lastName }}</span>
<vdr-chip>{{ item.emailAddress }}</vdr-chip>
</span>
</ng-template>
<ng-template ng-option-tmp let-item="item">
<span class="item-row">
<clr-icon shape="user" class="is-solid"></clr-icon
><span class="ml2 mr2">{{ item.firstName }} {{ item.lastName }}</span>
><span class="mx-1">{{ item.firstName }} {{ item.lastName }}</span>
<vdr-chip>{{ item.emailAddress }}</vdr-chip>
</span>
</ng-template>
</ng-select>
</div>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.item-row {
display: flex;
align-items: center;
}

0 comments on commit 3f8a1da

Please sign in to comment.