From 0a08495fec7896810991aafe435d33dc79fd48e5 Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Sat, 12 Oct 2024 01:27:55 -0700 Subject: [PATCH] refac: styling --- .../chat/MessageInput/Commands/Knowledge.svelte | 10 +++------- .../chat/MessageInput/Commands/Models.svelte | 10 +++------- .../chat/MessageInput/Commands/Prompts.svelte | 14 +++++--------- 3 files changed, 11 insertions(+), 23 deletions(-) diff --git a/src/lib/components/chat/MessageInput/Commands/Knowledge.svelte b/src/lib/components/chat/MessageInput/Commands/Knowledge.svelte index edce2b7e9..2c46c2a38 100644 --- a/src/lib/components/chat/MessageInput/Commands/Knowledge.svelte +++ b/src/lib/components/chat/MessageInput/Commands/Knowledge.svelte @@ -117,15 +117,11 @@ {#if filteredItems.length > 0 || prompt.split(' ')?.at(0)?.substring(1).startsWith('http')}
-
-
-
#
-
- +
{#each filteredItems as item, idx} diff --git a/src/lib/components/chat/MessageInput/Commands/Models.svelte b/src/lib/components/chat/MessageInput/Commands/Models.svelte index 768c51421..1be9a3add 100644 --- a/src/lib/components/chat/MessageInput/Commands/Models.svelte +++ b/src/lib/components/chat/MessageInput/Commands/Models.svelte @@ -68,15 +68,11 @@ {#if filteredItems.length > 0}
-
-
-
@
-
- +
{#each filteredItems as model, modelIdx} diff --git a/src/lib/components/chat/MessageInput/Commands/Prompts.svelte b/src/lib/components/chat/MessageInput/Commands/Prompts.svelte index 2a4b46d5d..f1b7ff198 100644 --- a/src/lib/components/chat/MessageInput/Commands/Prompts.svelte +++ b/src/lib/components/chat/MessageInput/Commands/Prompts.svelte @@ -132,17 +132,13 @@ {#if filteredPrompts.length > 0}
-
-
-
/
-
- +
-
+
{#each filteredPrompts as prompt, promptIdx}