Remove max height from dyad think to avoid arbitrary cutoff (#230)

Fixes #207
This commit is contained in:
Will Chen
2025-05-22 16:09:24 -07:00
committed by GitHub
parent f4c7d614bd
commit 830e4ece15

View File

@@ -57,7 +57,7 @@ export const DyadThink: React.FC<DyadThinkProps> = ({ children, node }) => {
<div
className="pt-6 overflow-hidden transition-all duration-300 ease-in-out"
style={{
maxHeight: isExpanded ? "1000px" : "0px",
maxHeight: isExpanded ? "none" : "0px",
opacity: isExpanded ? 1 : 0,
marginBottom: isExpanded ? "0" : "-6px", // Compensate for padding
}}