Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
Fix issue where live chart height is only partial of window in fullsc…
Browse files Browse the repository at this point in the history
…reen mode. Issue: #186 (#189)

* Fix issue where live chart height is only partial of window in fullscreen mode. Issue: #186
  • Loading branch information
yizheliu-amazon authored May 29, 2020
1 parent 7a42cd8 commit a4e8b49
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 11 deletions.
5 changes: 4 additions & 1 deletion public/pages/Dashboard/Components/AnomaliesLiveChart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,10 @@ export const AnomaliesLiveChart = (props: AnomaliesLiveChartProps) => {
true
);
} catch (err) {
console.log('Error getting latest anomaly results - index may not exist yet', err);
console.log(
'Error getting latest anomaly results - index may not exist yet',
err
);
setIsLoadingAnomalies(false);
}

Expand Down
9 changes: 0 additions & 9 deletions public/pages/Dashboard/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,3 @@
height: 400px;
width: 400px;
}

.full-screen {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 1000;
}
2 changes: 1 addition & 1 deletion public/pages/main/Main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export function Main(props: MainProps) {
];

return (
<EuiPage>
<EuiPage style={{ height: '100%' }}>
<EuiPageSideBar style={{ minWidth: 150 }} hidden={hideSideNavBar}>
<EuiSideNav style={{ width: 150 }} items={sideNav} />
</EuiPageSideBar>
Expand Down

0 comments on commit a4e8b49

Please sign in to comment.