Minor UI fix

This commit is contained in:
tdgmcode 2023-03-19 20:17:30 -04:00
parent 8f29503565
commit 945cedd035
2 changed files with 25 additions and 19 deletions

View file

@ -91,17 +91,18 @@
</div>
</span>
<span slot="main">
<div class='sections'>
<div>
<p class='data'>
<span class='follower'>
<b>{userData.reputation}</b> Reputation
</span>
<span class='follower'>
<b>{userData.upvotes}</b> Upvotes
</span>
<span class='follower'>
<b>{userData.downvotes}</b> Downvotes
<b>{userData.reputation}</b> reputation <b>(+{userData.upvotes}) (-{userData.downvotes})</b>
</span>
</p>
</div>
<div>
</div>
</div>
{#if userData.rolesArr}
<p>
@ -113,7 +114,7 @@
<div class='sections'>
<div>
<h2>{following.length} following</h2>
<p><b>{following.length}</b> following</p>
{#each following as user}
<a href='/users/{user.following}'>
<img class='pfp-small' src='/img/pfp/{user.following}.png'/>
@ -122,7 +123,7 @@
</div>
<div>
<h2>{followers.length} followers</h2>
<p><b>{followers.length}</b> followers</p>
{#each followers as user}
<a href='/users/{user.username}'>
<img class='pfp-small' src='/img/pfp/{user.username}.png'/>
@ -131,10 +132,15 @@
</div>
</div>
<div class='sections'>
<div>
{#if data.resAcc.data == userData.username}
<h2>Set PFP</h2>
<FileUpload bind:form={uploadForm} type='small' apiUrl={'/api/pfp'}/>
{/if}
</div>
</div>
</span>
<span slot="footer">

View file

@ -40,11 +40,11 @@
inkscape:collect="always"
id="linearGradient1587">
<stop
style="stop-color:#d5effa;stop-opacity:1;"
style="stop-color:#d5f7fa;stop-opacity:1;"
offset="0"
id="stop1583" />
<stop
style="stop-color:#d3e4ff;stop-opacity:1;"
style="stop-color:#a3c7ff;stop-opacity:1;"
offset="1"
id="stop1585" />
</linearGradient>

Before

Width:  |  Height:  |  Size: 5.7 KiB

After

Width:  |  Height:  |  Size: 5.7 KiB