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

Fix issue where live chart height is only partial of window in fullscreen mode. Issue: #186 #189

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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