diff options
| author | Adam Soltys <[email protected]> | 2022-12-15 14:41:28 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2022-12-15 14:41:28 -0800 |
| commit | 524097a8f421448343ff2466da56c47589ffcac4 (patch) | |
| tree | 4c9b92b1baed0a975edc4ddf269312e21c620aaa /src/components/Avatar.svelte | |
| parent | 6a1514a2fb50034412b6bef29b024a9c08a25b30 (diff) | |
| download | coinos-ui-524097a8f421448343ff2466da56c47589ffcac4.tar.gz coinos-ui-524097a8f421448343ff2466da56c47589ffcac4.zip | |
transaction list styles
Diffstat (limited to 'src/components/Avatar.svelte')
| -rw-r--r-- | src/components/Avatar.svelte | 8 |
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> |
