Refactor: Improve readability
This commit is contained in:
parent
1531fa9739
commit
1c1081b3b7
|
@ -1,6 +1,10 @@
|
||||||
<mk-autocomplete-suggestion>
|
<mk-autocomplete-suggestion>
|
||||||
<ol class="users" ref="users" if={ users.length > 0 }>
|
<ol class="users" ref="users" if={ users.length > 0 }>
|
||||||
<li each={ users } onclick={ parent.onClick } onkeydown={ parent.onKeydown } tabindex="-1"><img class="avatar" src={ avatar_url + '?thumbnail&size=32' } alt=""/><span class="name">{ name }</span><span class="username">@{ username }</span></li>
|
<li each={ users } onclick={ parent.onClick } onkeydown={ parent.onKeydown } tabindex="-1">
|
||||||
|
<img class="avatar" src={ avatar_url + '?thumbnail&size=32' } alt=""/>
|
||||||
|
<span class="name">{ name }</span>
|
||||||
|
<span class="username">@{ username }</span>
|
||||||
|
</li>
|
||||||
</ol>
|
</ol>
|
||||||
<style type="stylus">
|
<style type="stylus">
|
||||||
:scope
|
:scope
|
||||||
|
|
Loading…
Reference in New Issue