From a93adae30fd8aa02066c2fbf5069ec4190940110 Mon Sep 17 00:00:00 2001 From: Andrew Risse Date: Wed, 2 Oct 2024 11:39:25 -0600 Subject: [PATCH] fix layout flicker --- .../src/lib/components/ChatFileUpload.svelte | 7 +-- .../components/SelectAssistantDropdown.svelte | 2 +- .../(dashboard)/[[thread_id]]/+page.svelte | 43 +++++++++---------- 3 files changed, 24 insertions(+), 28 deletions(-) diff --git a/src/leapfrogai_ui/src/lib/components/ChatFileUpload.svelte b/src/leapfrogai_ui/src/lib/components/ChatFileUpload.svelte index 88ca2ac7c..9aa643aba 100644 --- a/src/leapfrogai_ui/src/lib/components/ChatFileUpload.svelte +++ b/src/leapfrogai_ui/src/lib/components/ChatFileUpload.svelte @@ -147,10 +147,7 @@ }} accept={ACCEPTED_DOC_AND_AUDIO_FILE_TYPES} disabled={uploadingFiles} - class="remove-btn-style flex rounded-lg p-1.5 hover:bg-inherit dark:hover:bg-inherit " + class="remove-btn-style flex rounded-lg p-1.5 hover:bg-inherit dark:hover:bg-inherit dark:focus:ring-gray-400" > - - - Attach file - + diff --git a/src/leapfrogai_ui/src/lib/components/SelectAssistantDropdown.svelte b/src/leapfrogai_ui/src/lib/components/SelectAssistantDropdown.svelte index afe07cb2a..a91fe35b5 100644 --- a/src/leapfrogai_ui/src/lib/components/SelectAssistantDropdown.svelte +++ b/src/leapfrogai_ui/src/lib/components/SelectAssistantDropdown.svelte @@ -29,7 +29,7 @@