Minor UI changes

This commit is contained in:
tdgmdev 2023-03-10 18:28:33 -05:00
parent ad969e5807
commit 359db13beb
2 changed files with 7 additions and 5 deletions

View file

@ -59,6 +59,6 @@
</a> </a>
{/if} {/if}
<a href='/tos'> <a href='/tos'>
Rulebook Rules
</a> </a>
</div> </div>

View file

@ -60,6 +60,8 @@
.sections div { .sections div {
text-align: right; text-align: right;
max-height: 300px;
overflow-y: auto;
} }
.sections div:nth-child(1) { .sections div:nth-child(1) {
@ -111,18 +113,18 @@
<div class='sections'> <div class='sections'>
<div> <div>
<h2>{following.length} followers</h2> <h2>{following.length} following</h2>
{#each following as user} {#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'/> <img class='pfp-small' src='/img/pfp/{user.following}.png'/>
</a> </a>
{/each} {/each}
</div> </div>
<div> <div>
<h2>{followers.length} following</h2> <h2>{followers.length} followers</h2>
{#each followers as user} {#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'/> <img class='pfp-small' src='/img/pfp/{user.username}.png'/>
</a> </a>
{/each} {/each}