FIX CSS for autocomplete.

This commit is contained in:
Guo Xiang Tan 2017-01-04 12:37:02 +08:00
parent dfc8178308
commit 43d950f813
2 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
<div class='user-selector autocomplete'> <div class='autocomplete'>
<ul> <ul>
{{#each options.users as |user|}} {{#each options.users as |user|}}
<li class="user-selector-item"> <li>
<a href title="{{user.name}}"> <a href title="{{user.name}}">
{{avatar user imageSize="tiny"}} {{avatar user imageSize="tiny"}}
<span class='username'>{{user.username}}</span> <span class='username'>{{user.username}}</span>
@ -11,7 +11,7 @@
{{/each}} {{/each}}
{{#if options.groups}} {{#if options.groups}}
{{#each options.groups as |group|}} {{#each options.groups as |group|}}
<li class="user-selector-item"> <li>
<a href title="{{group.full_name}}"> <a href title="{{group.full_name}}">
<i class='fa fa-users'></i> <i class='fa fa-users'></i>
<span class='username'>{{group.name}}</span> <span class='username'>{{group.name}}</span>

View File

@ -9,7 +9,7 @@
padding: 0; padding: 0;
margin: 0; margin: 0;
.user-selector-item { li {
.fa-users { .fa-users {
color: lighten($primary, 40%); color: lighten($primary, 40%);
padding: 0 2px; padding: 0 2px;