mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-27 16:53:10 +02:00
Refactor: Improve readability
This commit is contained in:
parent
1531fa9739
commit
1c1081b3b7
1 changed files with 5 additions and 1 deletions
|
@ -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 a new issue