fix: Side menu of the dashboard component will scroll out of dashboard (#15888)

This commit is contained in:
Michael S. Molina 2021-07-26 15:16:40 -03:00 committed by GitHub
parent 16a26bac35
commit f6115a73d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -69,10 +69,11 @@ const StyledDiv = styled.div`
flex: 1;
`;
// @z-index-above-dashboard-charts + 1 = 11
const FiltersPanel = styled.div`
grid-column: 1;
grid-row: 1 / span 2;
z-index: 2;
z-index: 11;
`;
const StickyPanel = styled.div<{ width: number }>`
@ -82,12 +83,13 @@ const StickyPanel = styled.div<{ width: number }>`
flex: 0 0 ${({ width }) => width}px;
`;
// @z-index-above-dashboard-charts + 1 = 11
const StyledHeader = styled.div`
grid-column: 2;
grid-row: 1;
position: sticky;
top: 0px;
z-index: 2;
z-index: 11;
`;
const StyledContent = styled.div<{