Skip to content

Commit

Permalink
Fix safari
Browse files Browse the repository at this point in the history
  • Loading branch information
patrykkopycinski committed Sep 24, 2020
1 parent b237e7c commit 8e9c563
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions x-pack/plugins/security_solution/public/app/home/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ const Main = styled.main.attrs<{ paddingTop: number }>(({ paddingTop }) => ({
},
}))<{ paddingTop: number }>`
overflow: auto;
display: flex;
flex-direction: column;
flex: 1 1 auto;
`;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ const DEFAULT_EVENTS_VIEWER_HEIGHT = 652;

const FullScreenContainer = styled.div<{ $isFullScreen: boolean }>`
height: ${({ $isFullScreen }) => ($isFullScreen ? '100%' : `${DEFAULT_EVENTS_VIEWER_HEIGHT}px`)};
flex: 1 1 auto;
display: flex;
width: 100%;
`;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ const Wrapper = styled.div`
&.siemWrapperPage--fullHeight {
height: 100%;
display: flex;
flex-direction: column;
flex: 1 1 auto;
}
&.siemWrapperPage--withTimeline {
Expand Down

0 comments on commit 8e9c563

Please sign in to comment.