Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Security Solution] Fix Fullscreen view (#74236)
Browse files Browse the repository at this point in the history
patrykkopycinski committed Aug 4, 2020
1 parent 485f438 commit 7d142b7
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
@@ -27,7 +27,6 @@ const SecuritySolutionAppWrapper = styled.div`
SecuritySolutionAppWrapper.displayName = 'SecuritySolutionAppWrapper';

const Main = styled.main`
position: relative;
overflow: auto;
flex: 1;
`;
Original file line number Diff line number Diff line change
@@ -73,6 +73,7 @@ export const AppGlobalStyle = createGlobalStyle<{ theme: { eui: { euiColorPrimar
#kibana-body {
height: 100%;
overflow-y: hidden;
> .content {
height: 100%;
Original file line number Diff line number Diff line change
@@ -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);
}

0 comments on commit 7d142b7

Please sign in to comment.