From a636e784bc82e099c6ab42584252724f237e3ca5 Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Sat, 16 Mar 2024 02:43:51 -0700 Subject: [PATCH] fix: styling --- src/lib/components/common/Dropdown.svelte | 9 ++++++++- src/lib/components/layout/Sidebar.svelte | 3 +++ src/lib/components/layout/Sidebar/ChatMenu.svelte | 10 +++++++++- 3 files changed, 20 insertions(+), 2 deletions(-) diff --git a/src/lib/components/common/Dropdown.svelte b/src/lib/components/common/Dropdown.svelte index 580a95fd..89d6b694 100644 --- a/src/lib/components/common/Dropdown.svelte +++ b/src/lib/components/common/Dropdown.svelte @@ -1,8 +1,15 @@ - + { + dispatch('change', state); + }} +> diff --git a/src/lib/components/layout/Sidebar.svelte b/src/lib/components/layout/Sidebar.svelte index e5ea74fe..c8d81715 100644 --- a/src/lib/components/layout/Sidebar.svelte +++ b/src/lib/components/layout/Sidebar.svelte @@ -520,6 +520,9 @@ deleteHandler={() => { chatDeleteId = chat.id; }} + onClose={() => { + selectedChatId = null; + }} >