From 22d6c5b90a741ed5b1e6808e1f1d15b045876157 Mon Sep 17 00:00:00 2001 From: ari melody Date: Mon, 14 Jul 2025 04:12:20 +0100 Subject: [PATCH] temporary: disable follow button until supported --- src/lib/ui/Button.svelte | 10 +++++----- src/routes/[server]/[account]/+page.svelte | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/lib/ui/Button.svelte b/src/lib/ui/Button.svelte index 91039e5..b6b63f4 100644 --- a/src/lib/ui/Button.svelte +++ b/src/lib/ui/Button.svelte @@ -139,14 +139,14 @@ border-color: transparent; } - a.filled:hover, - button.filled:hover { + a.filled:not(.disabled):hover, + button.filled:not(.disabled):hover { color: color-mix(in srgb, var(--bg-800), white 10%); background-color: color-mix(in srgb, var(--accent), white 20%); } - a.filled:active, - button.filled:active { + a.filled:not(.disabled):active, + button.filled:not(.disabled):active { color: color-mix(in srgb, var(--bg-800), black 10%); background-color: color-mix(in srgb, var(--accent), black 20%); } @@ -157,7 +157,7 @@ opacity: .5; background: transparent; border-color: transparent; - cursor: initial; + cursor: not-allowed; } .icon:not(:empty) { diff --git a/src/routes/[server]/[account]/+page.svelte b/src/routes/[server]/[account]/+page.svelte index bcca776..48a4bfb 100644 --- a/src/routes/[server]/[account]/+page.svelte +++ b/src/routes/[server]/[account]/+page.svelte @@ -166,7 +166,7 @@
{#if $account && profile.fqn !== $account.fqn} - {/if}