From 475105473cbe0b3c83b948e7ab06d1cc1030a4a6 Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Mon, 4 Mar 2024 13:58:39 -0800 Subject: [PATCH] feat: tooltip aria label --- src/lib/components/common/Tooltip.svelte | 2 +- src/routes/(app)/+layout.svelte | 25 +++++++++++++----------- 2 files changed, 15 insertions(+), 12 deletions(-) diff --git a/src/lib/components/common/Tooltip.svelte b/src/lib/components/common/Tooltip.svelte index 0eabdb6e..cd6cbed8 100644 --- a/src/lib/components/common/Tooltip.svelte +++ b/src/lib/components/common/Tooltip.svelte @@ -29,6 +29,6 @@ }); -
+
diff --git a/src/routes/(app)/+layout.svelte b/src/routes/(app)/+layout.svelte index ea69a8b3..dd96095b 100644 --- a/src/routes/(app)/+layout.svelte +++ b/src/routes/(app)/+layout.svelte @@ -34,10 +34,11 @@ import Sidebar from '$lib/components/layout/Sidebar.svelte'; import ShortcutsModal from '$lib/components/chat/ShortcutsModal.svelte'; import ChangelogModal from '$lib/components/ChangelogModal.svelte'; + import Tooltip from '$lib/components/common/Tooltip.svelte'; let ollamaVersion = ''; let loaded = false; - let showShortcutsButtonElement:HTMLButtonElement + let showShortcutsButtonElement: HTMLButtonElement; let DB = null; let localDBChats = []; @@ -201,16 +202,18 @@ {#if loaded}