Skip to content

Commit

Permalink
[Security Solution] Fix Fullscreen view (elastic#74236) (elastic#74251)
Browse files Browse the repository at this point in the history
  • Loading branch information
patrykkopycinski authored Aug 4, 2020
1 parent 86b4eb4 commit 435ca3d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion x-pack/plugins/security_solution/public/app/home/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ const SecuritySolutionAppWrapper = styled.div`
SecuritySolutionAppWrapper.displayName = 'SecuritySolutionAppWrapper';

const Main = styled.main`
position: relative;
overflow: auto;
flex: 1;
`;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ export const AppGlobalStyle = createGlobalStyle<{ theme: { eui: { euiColorPrimar
#kibana-body {
height: 100%;
overflow-y: hidden;
> .content {
height: 100%;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export const useTimelineTypes = ({
(tabId, tabStyle: TimelineTabsStyle) => {
setTimelineTypes((prevTimelineTypes) => {
if (tabId === prevTimelineTypes && tabStyle === TimelineTabsStyle.filter) {
return null;
return tabId === TimelineType.default ? TimelineType.template : TimelineType.default;
} else if (prevTimelineTypes !== tabId) {
setTimelineTypes(tabId);
}
Expand Down

0 comments on commit 435ca3d

Please sign in to comment.