fix(viz): Header scrolling for Time Table in dashboard (#20874)

* TimeTable:

- Increase the z-index so the sparkline doesn't overlap when scrolling in the dashboard

* Time TAble:

- Remove testing label
This commit is contained in:
Antonio Rivero Martinez 2022-07-27 15:24:47 -03:00 committed by GitHub
parent 77db0651d8
commit 99085d583d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -98,12 +98,13 @@ const defaultProps = {
url: '',
};
// @z-index-above-dashboard-charts + 1 = 11
const TimeTableStyles = styled.div`
height: ${props => props.height}px;
overflow: auto;
th {
z-index: 1; // to cover sparkline
z-index: 11 !important; // to cover sparkline
}
`;