From 1de0c55859889599cf1d756bd0d6ce15790a449a Mon Sep 17 00:00:00 2001 From: Dustin Loring Date: Sat, 18 Jan 2025 15:49:13 -0500 Subject: [PATCH] chore: ui updates some small ui updates for preview popout and chat history popout --- app/components/chat/ChatHistory.client.tsx | 23 ++++++++++++---------- app/components/workbench/Preview.tsx | 4 ++-- 2 files changed, 15 insertions(+), 12 deletions(-) diff --git a/app/components/chat/ChatHistory.client.tsx b/app/components/chat/ChatHistory.client.tsx index f393a05..45ec78e 100644 --- a/app/components/chat/ChatHistory.client.tsx +++ b/app/components/chat/ChatHistory.client.tsx @@ -59,27 +59,30 @@ export function ChatHistory() { {isOpen && ( -
-
-

Chat History

-
+ <> +
setIsOpen(false)} /> +
+
+

Chat History

+
+
{history.map((item) => ( ))}
-
+ )}
); diff --git a/app/components/workbench/Preview.tsx b/app/components/workbench/Preview.tsx index a1633f4..9bb70c6 100644 --- a/app/components/workbench/Preview.tsx +++ b/app/components/workbench/Preview.tsx @@ -325,7 +325,7 @@ export const Preview = memo(() => { {WINDOW_SIZES.map((size) => (