Skip to content

Commit

Permalink
[Security Solution][Endpoint] Allow activity log scrolling on small s…
Browse files Browse the repository at this point in the history
…creens (#103852)
  • Loading branch information
ashokaditya authored Jun 30, 2021
1 parent fd7dc18 commit 0636c9b
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ import {
getActivityLogRequestLoading,
} from '../../store/selectors';

const StyledEuiFlexGroup = styled(EuiFlexGroup)`
height: 85vh;
`;
const LoadMoreTrigger = styled.div`
height: 6px;
width: 100%;
Expand Down Expand Up @@ -79,7 +82,7 @@ export const EndpointActivityLog = memo(

return (
<>
<EuiFlexGroup direction="column" style={{ height: '85vh' }}>
<StyledEuiFlexGroup direction="column" responsive={false}>
{(activityLogLoaded && !activityLogSize) || activityLogError ? (
<EuiFlexItem>
<EuiEmptyPrompt
Expand Down Expand Up @@ -115,7 +118,7 @@ export const EndpointActivityLog = memo(
</EuiFlexItem>
</>
)}
</EuiFlexGroup>
</StyledEuiFlexGroup>
</>
);
}
Expand Down

0 comments on commit 0636c9b

Please sign in to comment.