style: fix overlapping of response container in AI popover. (#4684)

This commit is contained in:
Prateek Shourya 2024-06-04 11:22:40 +05:30 committed by GitHub
parent dd65d03d33
commit 87582604f7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -210,11 +210,7 @@ export const GptAssistantPopover: React.FC<Props> = (props) => {
{response !== "" && ( {response !== "" && (
<div className="page-block-section max-h-[8rem] text-sm"> <div className="page-block-section max-h-[8rem] text-sm">
Response: Response:
<RichTextReadOnlyEditor <RichTextReadOnlyEditor initialValue={`<p>${response}</p>`} ref={responseRef} />
initialValue={`<p>${response}</p>`}
containerClassName={response ? "-mx-3 -my-3" : ""}
ref={responseRef}
/>
</div> </div>
)} )}
{invalidResponse && ( {invalidResponse && (