Minor UI changes
This commit is contained in:
parent
ad969e5807
commit
359db13beb
2 changed files with 7 additions and 5 deletions
|
@ -59,6 +59,6 @@
|
|||
</a>
|
||||
{/if}
|
||||
<a href='/tos'>
|
||||
Rulebook
|
||||
Rules
|
||||
</a>
|
||||
</div>
|
|
@ -60,6 +60,8 @@
|
|||
|
||||
.sections div {
|
||||
text-align: right;
|
||||
max-height: 300px;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.sections div:nth-child(1) {
|
||||
|
@ -111,18 +113,18 @@
|
|||
|
||||
<div class='sections'>
|
||||
<div>
|
||||
<h2>{following.length} followers</h2>
|
||||
<h2>{following.length} following</h2>
|
||||
{#each following as user}
|
||||
<a class='follower' href='/users/{user.following}'>
|
||||
<a href='/users/{user.following}'>
|
||||
<img class='pfp-small' src='/img/pfp/{user.following}.png'/>
|
||||
</a>
|
||||
{/each}
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<h2>{followers.length} following</h2>
|
||||
<h2>{followers.length} followers</h2>
|
||||
{#each followers as user}
|
||||
<a class='follower' href='/users/{user.username}'>
|
||||
<a href='/users/{user.username}'>
|
||||
<img class='pfp-small' src='/img/pfp/{user.username}.png'/>
|
||||
</a>
|
||||
{/each}
|
||||
|
|
Loading…
Reference in a new issue