diff --git a/src/components/chat/AgentHeader.tsx b/src/components/chat/AgentHeader.tsx index 3682457..d6454ff 100644 --- a/src/components/chat/AgentHeader.tsx +++ b/src/components/chat/AgentHeader.tsx @@ -87,8 +87,8 @@ export const AgentHeader = ({ boxShadow: `0 1px 0 ${alpha("#fff", 0.6)} inset`, }} > - - + + - + {isEditingTitle ? ( - + setDraftTitle(event.target.value)} @@ -226,7 +226,6 @@ export const AgentHeader = ({ overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap", - maxWidth: { xs: "calc(100vw - 256px)", sm: 284 }, px: "8px", lineHeight: 1.2, }} @@ -262,7 +261,7 @@ export const AgentHeader = ({ - + = ({ open, onClose }) => { const handleMouseMove = (event: MouseEvent) => { if (!isResizing) return; const newWidth = window.innerWidth - event.clientX; - if (newWidth > 360 && newWidth < 1240) { + if (newWidth > 360 && newWidth < 800) { setWidth(newWidth); } };