Skip to content

Commit

Permalink
PR comment
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippeOberti committed Oct 9, 2024
1 parent 3cc0d86 commit f2a2fcf
Showing 1 changed file with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,15 @@ export const NoteContent = memo(({ note }: NoteContentProps) => {
);

return (
<EuiPopover button={button} isOpen={isPopoverOpen} closePopover={closePopover}>
<EuiMarkdownFormat data-test-subj={NOTE_CONTENT_POPOVER_TEST_ID}>{note}</EuiMarkdownFormat>
<EuiPopover
button={button}
isOpen={isPopoverOpen}
closePopover={closePopover}
panelStyle={{ maxWidth: '50%', maxHeight: '50%', overflow: 'auto' }}
>
<EuiMarkdownFormat textSize="s" data-test-subj={NOTE_CONTENT_POPOVER_TEST_ID}>
{note}
</EuiMarkdownFormat>
</EuiPopover>
);
});
Expand Down

0 comments on commit f2a2fcf

Please sign in to comment.