From 99085d583ddadf8e092f6648195cde29efef6976 Mon Sep 17 00:00:00 2001 From: Antonio Rivero Martinez <38889534+Antonio-RiveroMartnez@users.noreply.github.com> Date: Wed, 27 Jul 2022 15:24:47 -0300 Subject: [PATCH] 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 --- superset-frontend/src/visualizations/TimeTable/TimeTable.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/superset-frontend/src/visualizations/TimeTable/TimeTable.jsx b/superset-frontend/src/visualizations/TimeTable/TimeTable.jsx index 9dd76ffc1565..f6eb4b28b288 100644 --- a/superset-frontend/src/visualizations/TimeTable/TimeTable.jsx +++ b/superset-frontend/src/visualizations/TimeTable/TimeTable.jsx @@ -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 } `;