diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/expanded_row.tsx b/x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/expanded_row.tsx index 08806dbeb0818..549023a95732d 100644 --- a/x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/expanded_row.tsx +++ b/x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/expanded_row.tsx @@ -8,7 +8,7 @@ import React, { type FC } from 'react'; import { css } from '@emotion/react'; -import { EuiTabbedContent } from '@elastic/eui'; +import { useEuiTheme, EuiTabbedContent } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; import { stringHash } from '@kbn/ml-string-hash'; @@ -30,6 +30,7 @@ interface Props { } export const ExpandedRow: FC = ({ item, onAlertEdit }) => { + const { euiTheme } = useEuiTheme(); const tabId = stringHash(item.id); const tabs = [ @@ -112,7 +113,8 @@ export const ExpandedRow: FC = ({ item, onAlertEdit }) => { onTabClick={() => {}} expand={false} css={css` - width: 100%; + margin-left: -${euiTheme.size.xl}; + width: calce(100% + ${euiTheme.size.xl}); .euiTable { background-color: transparent; diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/expanded_row_messages_pane.tsx b/x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/expanded_row_messages_pane.tsx index 84e248ef49ae0..48077414ffabb 100644 --- a/x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/expanded_row_messages_pane.tsx +++ b/x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/expanded_row_messages_pane.tsx @@ -8,7 +8,7 @@ import type { MouseEvent } from 'react'; import React, { useState, type FC } from 'react'; -import type { EuiBasicTableProps } from '@elastic/eui'; +import { useEuiTheme, type EuiBasicTableProps } from '@elastic/eui'; import { formatDate, EuiPanel, EuiBasicTable, EuiToolTip, EuiButtonIcon } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; @@ -30,6 +30,7 @@ interface Sorting { } export const ExpandedRowMessagesPane: FC = ({ transformId }) => { + const { euiTheme } = useEuiTheme(); const { showNodeInfo } = useEnabledFeatures(); const [pageIndex, setPageIndex] = useState(0); @@ -79,8 +80,12 @@ export const ExpandedRowMessagesPane: FC = ({ tran ) : ( '' ), - render: (message: TransformMessage) => , - width: '6%', + render: (message: TransformMessage) => ( +
+ +
+ ), + width: euiTheme.size.xl, }, { field: 'timestamp',