Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import { TimeRange } from '../../../../../../common/http_api/shared/time_range';
import { GetLogEntryRateSuccessResponsePayload } from '../../../../../../common/http_api/log_analysis/results/log_entry_rate';
import { AnomaliesTableExpandedRow } from './expanded_row';
import { getTopAnomalyScoresByPartition, formatAnomalyScore } from '../helpers/data_formatters';
import euiStyled from '../../../../../../../../common/eui_styled_components';

interface TableItem {
id: string;
Expand Down Expand Up @@ -151,7 +152,7 @@ export const AnomaliesTable: React.FunctionComponent<{
];

return (
<EuiBasicTable
<StyledEuiBasicTable
items={sortedTableItems}
itemId="id"
itemIdToExpandedRowMap={itemIdToExpandedRowMap}
Expand All @@ -163,3 +164,9 @@ export const AnomaliesTable: React.FunctionComponent<{
/>
);
};

const StyledEuiBasicTable = euiStyled(EuiBasicTable)`
& .euiTable {
table-layout: auto;
}
`;