diff --git a/README.md b/README.md index 2f991b29..2f78ae91 100644 --- a/README.md +++ b/README.md @@ -136,7 +136,7 @@ Want your instance added here? Make a GitHub issue or make a PR! (this is for ge | [phtn.app (Official)](https://phtn.app) | 🇺🇸 US West | [photon@xylight.dev](mailto:photon@xylight.dev) | | [ph.opnxng.com](https://ph.opnxng.com) | 🇸🇬 Singapore | [about.opnxng.com](https://about.opnxng.com) | | [photon.thesanewriter.com](https://photon.thesanewriter.com) | 🇺🇸 US East | [thesanewriter@lemmy.thesanewriter.com](mailto:thesanewriter@lemmy.thesanewriter.com) | -| [p.darrennathanael.com](https://p.darrennathanael.com) | 🇺🇸 US East | [noc@darrennathanael.com](mailto:noc@darrennathanael.com) | +| [p.darrennathanael.com](https://p.darrennathanael.com) | 🇮🇩 ID West | [noc@darrennathanael.com](mailto:noc@darrennathanael.com) | | [p.lemmy.ohaa.xyz](https://p.lemmy.ohaa.xyz) | 🇦🇹 Austria | (???) | | [~~photon.zhenyapav.com~~ (Has not updated since v1.9.2)](https://photon.zhenyapav.com) | 🇮🇸 Iceland | [zhenyapav@zhenyapav.com](mailto:zhenyapav@zhenyapav.com) | | [~~ph.buckodr.ink~~ (Has not updated since v1.21.1)](https://ph.buckodr.ink) | 🇺🇸 US East | [admin@buckodr.ink](mailto:admin@buckodr.ink) | diff --git a/src/lib/components/lemmy/post/media/PostMedia.svelte b/src/lib/components/lemmy/post/media/PostMedia.svelte index 2c15a99e..5cd9d0ba 100644 --- a/src/lib/components/lemmy/post/media/PostMedia.svelte +++ b/src/lib/components/lemmy/post/media/PostMedia.svelte @@ -80,7 +80,7 @@ }} class="absolute bottom-0 left-0 text-sm m-2 text-left" size="sm" - rounding="pill" + rounding="lg" alignment="left" > {#if showAltText} @@ -102,7 +102,7 @@ {:else if type == 'embed' && post.url} -{#if view == 'compact' || (view == 'list' && (!post.embed_title || type == 'iframe') && type != 'none')} +{#if view == 'compact' || (view == 'list' && type != 'none')}
{#if post.alt_text} - + { switching = true - if ($profile?.id == prof.id) { - await setUserID(-1) - } else { + if ($profile?.id != prof.id) { await setUserID(prof.id) } diff --git a/src/routes/accounts/+page.svelte b/src/routes/accounts/+page.svelte index 33c44bd9..07aaaba1 100644 --- a/src/routes/accounts/+page.svelte +++ b/src/routes/accounts/+page.svelte @@ -23,6 +23,7 @@ import { ArrowLeftOnRectangle, ArrowRightOnRectangle, + ArrowsRightLeft, ArrowUturnLeft, BugAnt, Check, @@ -184,21 +185,24 @@ ? 'Switch' : 'Current'} on:click={async () => { - if (profile.id == $currentProfile?.id) setUserID(-1) - else { + if (profile.id != $currentProfile?.id) { switching = profile.id await setUserID(profile.id) switching = -69 } }} size="square-md" - color={profile.id == $currentProfile?.id ? 'primary' : 'secondary'} + color={profile.id == $currentProfile?.id ? 'primary' : 'ghost'} loading={switching == profile.id} disabled={switching == profile.id} > - {#if profile.id == $currentProfile?.id} - - {/if} + + {#if profile.id == $currentProfile?.id} + + {:else} + + {/if} +