address comment

This commit is contained in:
Eva Ho
2025-11-05 20:19:34 -05:00
parent a534d4e9e1
commit 536c987c39

View File

@@ -134,7 +134,7 @@ export default function Thinking({
ref={wrapperRef}
className={`text-xs text-neutral-500 dark:text-neutral-500 rounded-md
transition-[max-height,opacity] duration-300 ease-in-out relative ml-6 mt-2
${isCollapsed ? "overflow-hidden" : "overflow-y-auto max-h-28"}`}
${isCollapsed ? "overflow-hidden" : activelyThinking ? "overflow-y-auto max-h-28" : "overflow-y-auto"}`}
style={{
maxHeight: isCollapsed ? getMaxHeight() : undefined,
opacity: isCollapsed && finishedThinking ? 0 : 1,