From 5e7324bca9c2ba4ec480ae6640130416bc52ba32 Mon Sep 17 00:00:00 2001 From: dumbmoron Date: Tue, 17 Sep 2024 14:05:25 +0000 Subject: [PATCH] web/SettingsCategory: add copy link to settings header --- .../settings/SettingsCategory.svelte | 56 ++++++++++++++++++- 1 file changed, 54 insertions(+), 2 deletions(-) diff --git a/web/src/components/settings/SettingsCategory.svelte b/web/src/components/settings/SettingsCategory.svelte index 2b9503df..1e475761 100644 --- a/web/src/components/settings/SettingsCategory.svelte +++ b/web/src/components/settings/SettingsCategory.svelte @@ -1,6 +1,8 @@
-
+
showCopy = true} + on:mouseleave={() => showCopy = false} + role="link" + tabindex="0" + >

{title}

{#if beta}
{$t("general.beta")}
{/if} + {#if showCopy} + + {/if}