From cf9482bd76d1e9c497678f053779117c10652828 Mon Sep 17 00:00:00 2001 From: Mathew Pareles Date: Sun, 23 Mar 2025 23:41:28 -0700 Subject: [PATCH] add back dropdown animation which was removed --- .../browser/react/src/sidebar-tsx/SidebarChat.tsx | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/vs/workbench/contrib/void/browser/react/src/sidebar-tsx/SidebarChat.tsx b/src/vs/workbench/contrib/void/browser/react/src/sidebar-tsx/SidebarChat.tsx index 088ba708..48b37593 100644 --- a/src/vs/workbench/contrib/void/browser/react/src/sidebar-tsx/SidebarChat.tsx +++ b/src/vs/workbench/contrib/void/browser/react/src/sidebar-tsx/SidebarChat.tsx @@ -750,8 +750,8 @@ const ToolHeaderWrapper = ({ {/* children */} {
@@ -1018,6 +1018,9 @@ const SmallProseWrapper = ({ children }: { children: React.ReactNode }) => { leading-snug text-[13px] + [&>:first-child]:!mt-0 + [&>:last-child]:!mb-0 + prose-h1:text-[14px] prose-h1:my-4 @@ -1154,7 +1157,7 @@ const ReasoningWrapper = ({ isDoneReasoning, isStreaming, children }: { isDoneRe if (!isWriting) setIsOpen(false) // if just finished reasoning, close }, [isWriting]) return : ''} isOpen={isOpen} onClick={() => setIsOpen(v => !v)}> - +
{children}
@@ -1763,7 +1766,7 @@ const toolNameToComponent: { [T in ToolName]: ToolComponent } = { resolveReason.type === 'toofull' ? `\n(truncated)` : null - componentParams.children = + componentParams.children =