[Cases] Fix user action content pushing the sidebar beyond the screen limits (#123050) (#123143)

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
Esteban Beltran 2022-01-17 14:52:36 +01:00 committed by GitHub
parent fe61514877
commit e02eaf3044
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -31,6 +31,7 @@ const MarkdownRendererComponent: React.FC<Props> = ({ children, disableLinks })
<EuiMarkdownFormat
parsingPluginList={parsingPlugins}
processingPluginList={processingPluginList}
grow={false}
>
{children}
</EuiMarkdownFormat>

View file

@ -113,7 +113,7 @@ export const UserActionMarkdown = forwardRef<UserActionMarkdownRefObject, UserAc
/>
</Form>
) : (
<ContentWrapper data-test-subj="user-action-markdown">
<ContentWrapper className={'eui-xScroll'} data-test-subj="user-action-markdown">
<MarkdownRenderer>{content}</MarkdownRenderer>
</ContentWrapper>
);