Skip to content

Commit

Permalink
Fix scrolling on obs alerts table and default to 50 items per page
Browse files Browse the repository at this point in the history
  • Loading branch information
Kerry350 committed Aug 18, 2021
1 parent 2592e36 commit d6c66aa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ export function AlertsTableTGrid(props: AlertsTableTGridProps) {
end: rangeTo,
filters: [],
indexNames: [indexName],
itemsPerPage: 10,
itemsPerPage: 50,
itemsPerPageOptions: [10, 25, 50],
loadingText: i18n.translate('xpack.observability.alertsTable.loadingTextLabel', {
defaultMessage: 'loading alerts',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ const EventsContainerLoading = styled.div.attrs(({ className = '' }) => ({
const FullWidthFlexGroup = styled(EuiFlexGroup)<{ $visible: boolean }>`
overflow: hidden;
margin: 0;
min-height: 490px;
display: ${({ $visible }) => ($visible ? 'flex' : 'none')};
`;

Expand Down

0 comments on commit d6c66aa

Please sign in to comment.