From 427008855a1159e4976ac84fcfe40620249f7232 Mon Sep 17 00:00:00 2001 From: eti Date: Tue, 15 Sep 2026 22:58:19 +0200 Subject: [PATCH] web/profile: center the avatar and stack actions on mobile Signed-off-by: eti --- .../profile/UserProfileChrome.svelte | 49 +++++++++++-------- 1 file changed, 28 insertions(+), 21 deletions(-) diff --git a/web/src/lib/components/profile/UserProfileChrome.svelte b/web/src/lib/components/profile/UserProfileChrome.svelte index 44c4649c5..9ccdf3d88 100644 --- a/web/src/lib/components/profile/UserProfileChrome.svelte +++ b/web/src/lib/components/profile/UserProfileChrome.svelte @@ -55,34 +55,41 @@ did={identity.did} handle={identity.handle} size="full" - class="absolute top-6 left-6 size-32 bg-background-default" + class="absolute top-6 left-1/2 size-32 -translate-x-1/2 bg-background-default sm:left-6 sm:translate-x-0" /> -
- {#if isSelf} - - {:else} -
- -
-
- -
- {/if} +
+
+ {#if isSelf} + + {:else} +
+ +
+
+ +
+ {/if} +

{identity.handle} {#if shown?.pronouns} -- 2.51.2