aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/Avatar.svelte
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2022-12-15 14:41:28 -0800
committerAdam Soltys <[email protected]>2022-12-15 14:41:28 -0800
commit6e5c302d2dd4af57942a7f5a4b138da54a40a4d4 (patch)
tree4c9b92b1baed0a975edc4ddf269312e21c620aaa /src/components/Avatar.svelte
parentd270ee861c9a231c7e5f38f721db2af84cdbf006 (diff)
downloadcoinos-ui-6e5c302d2dd4af57942a7f5a4b138da54a40a4d4.tar.gz
coinos-ui-6e5c302d2dd4af57942a7f5a4b138da54a40a4d4.zip
transaction list styles
Diffstat (limited to 'src/components/Avatar.svelte')
-rw-r--r--src/components/Avatar.svelte8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/components/Avatar.svelte b/src/components/Avatar.svelte
index 054279ec..d636416d 100644
--- a/src/components/Avatar.svelte
+++ b/src/components/Avatar.svelte
@@ -1,5 +1,5 @@
<script>
- import { colorTheme, tempProfileFiles } from '$lib/store';
+ import { colorTheme } from '$lib/store';
import { Icon } from '$comp';
export let user;
@@ -14,14 +14,12 @@
>
{#if user?.profile}
<img
- src={$tempProfileFiles && $tempProfileFiles.profile
- ? $tempProfileFiles.profile
- : `/api/public/${user.username}-profile.webp`}
+ src={`/api/public/${user.username}-profile.webp`}
class="w-full h-full object-cover object-center overflow-hidden"
alt={user.username}
/>
{:else}
- <Icon icon="logo-symbol-white" />
+ <Icon icon="logo-symbol-white" style="w-4/5" />
{/if}
</div>
</a>