Commit 3501a4bd authored by Eva Ho's avatar Eva Ho
Browse files

address comment

parent e309c804
...@@ -134,7 +134,7 @@ export default function Thinking({ ...@@ -134,7 +134,7 @@ export default function Thinking({
ref={wrapperRef} ref={wrapperRef}
className={`text-xs text-neutral-500 dark:text-neutral-500 rounded-md 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 transition-[max-height,opacity] duration-300 ease-in-out relative ml-6 mt-2
${isCollapsed ? "overflow-hidden" : activelyThinking ? "overflow-y-auto max-h-28" : "overflow-y-auto"}`} ${isCollapsed ? "overflow-hidden" : "overflow-y-auto"}`}
style={{ style={{
maxHeight: isCollapsed ? getMaxHeight() : undefined, maxHeight: isCollapsed ? getMaxHeight() : undefined,
opacity: isCollapsed && finishedThinking ? 0 : 1, opacity: isCollapsed && finishedThinking ? 0 : 1,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment