diff --git a/src/components/Editor/AIEdit.tsx b/src/components/Editor/AIEdit.tsx index 3042f113..2d578ac6 100644 --- a/src/components/Editor/AIEdit.tsx +++ b/src/components/Editor/AIEdit.tsx @@ -40,8 +40,8 @@ const AiEditMenu = ({ selectedText, onEdit }: AiEditMenuProps) => {
{isLoading && !response &&
Generating response...
} {response && ( -
-

{response}

+
+

{response}

)}
diff --git a/src/components/Editor/EditorManager.tsx b/src/components/Editor/EditorManager.tsx index de95eb92..d67a44b9 100644 --- a/src/components/Editor/EditorManager.tsx +++ b/src/components/Editor/EditorManager.tsx @@ -59,9 +59,11 @@ const EditorManager: React.FC = () => { onHidden: () => { setShowAIPopup(false) }, + maxWidth: 'none', }} >
{ e.preventDefault() e.stopPropagation() @@ -72,17 +74,12 @@ const EditorManager: React.FC = () => { }} > {showAIPopup ? ( - // e.stopPropagation()} - // onMouseDown={(e) => e.stopPropagation()} - // onKeyDown={(e) => e.stopPropagation()} - // className="bg-dark-gray-c-twelve rounded border border-gray-700 px-2 py-1 focus:outline-none focus:ring-1 focus:ring-blue-500" - // /> + //
{}} /> ) : ( + //
)}