address comment
This commit is contained in:
parent
a534d4e9e1
commit
536c987c39
|
|
@ -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" : "overflow-y-auto max-h-28"}`}
|
${isCollapsed ? "overflow-hidden" : activelyThinking ? "overflow-y-auto max-h-28" : "overflow-y-auto"}`}
|
||||||
style={{
|
style={{
|
||||||
maxHeight: isCollapsed ? getMaxHeight() : undefined,
|
maxHeight: isCollapsed ? getMaxHeight() : undefined,
|
||||||
opacity: isCollapsed && finishedThinking ? 0 : 1,
|
opacity: isCollapsed && finishedThinking ? 0 : 1,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue