Skip to content

Commit bf6ea86

Browse files
authored
[Cases] Fix case events fullscreen view (elastic#239106)
## Summary This fixes elastic#236885 ## Testing Going between fullscreen and nested grid view should not break now while in case events table:)
1 parent 0d6ad7f commit bf6ea86

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_events.tsx

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@
55
* 2.0.
66
*/
77

8-
import { EuiFlexItem } from '@elastic/eui';
98
import React, { useMemo } from 'react';
9+
import { EuiFlexItem } from '@elastic/eui';
10+
import { css } from '@emotion/react';
11+
1012
import { type CaseUI } from '../../../../common';
1113
import { CASE_VIEW_PAGE_TABS } from '../../../../common/types';
1214
import { CaseViewTabs } from '../case_view_tabs';
@@ -43,7 +45,12 @@ export const CaseViewEvents = ({
4345
}
4446

4547
return (
46-
<EuiFlexItem data-test-subj="case-view-events">
48+
<EuiFlexItem
49+
css={css`
50+
width: 100%;
51+
`}
52+
data-test-subj="case-view-events"
53+
>
4754
<CaseViewTabs caseData={caseData} activeTab={CASE_VIEW_PAGE_TABS.EVENTS} />
4855
<EventsTable events={events} />
4956
</EuiFlexItem>

0 commit comments

Comments
 (0)