From 9a6e718ebcb46d9575be8cee6cb407865ec62d5a Mon Sep 17 00:00:00 2001 From: eti Date: Wed, 15 Jul 2026 18:17:40 +0200 Subject: [PATCH] web/ui/{profile,shell}: proper button styles & visual tweaks Signed-off-by: eti --- .../components/profile/FollowButton.svelte | 7 ++--- .../lib/components/profile/ProfileCard.svelte | 2 +- web/src/lib/components/shell/Topbar.svelte | 31 +++++++++++-------- .../lib/components/shell/TopbarSearch.svelte | 2 +- 4 files changed, 23 insertions(+), 19 deletions(-) diff --git a/web/src/lib/components/profile/FollowButton.svelte b/web/src/lib/components/profile/FollowButton.svelte index 4249503c..c9e44f39 100644 --- a/web/src/lib/components/profile/FollowButton.svelte +++ b/web/src/lib/components/profile/FollowButton.svelte @@ -12,11 +12,10 @@ interface Props { profileDid: string; initialRkey?: string | null; - size?: "sm" | "md"; onCommit?: (change: FollowChange) => void; } - let { profileDid, initialRkey, size = "sm", onCommit }: Props = $props(); + let { profileDid, initialRkey, onCommit }: Props = $props(); const auth = getAuth(); const profileCounts = getProfileCounts(); @@ -73,15 +72,15 @@ {#if !isSelf} {#if !signedIn} - {:else}
+ or - {:else} {#if user || loading} @@ -103,9 +110,7 @@
- + {@render divider("md:order-2")} {/if}
diff --git a/web/src/lib/components/shell/TopbarSearch.svelte b/web/src/lib/components/shell/TopbarSearch.svelte index 27f14d98..3904a555 100644 --- a/web/src/lib/components/shell/TopbarSearch.svelte +++ b/web/src/lib/components/shell/TopbarSearch.svelte @@ -20,6 +20,6 @@ type="search" placeholder="Search" iconLeft={Search} - class="h-8 w-80 gap-1.5 px-2 py-0" + class="w-80" /> -- 2.51.2