This is an automated email from the ASF dual-hosted git repository.
rusackas pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/master by this push:
new 99085d583d fix(viz): Header scrolling for Time Table in dashboard
(#20874)
99085d583d is described below
commit 99085d583ddadf8e092f6648195cde29efef6976
Author: Antonio Rivero Martinez
<[email protected]>
AuthorDate: Wed Jul 27 15:24:47 2022 -0300
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 9dd76ffc15..f6eb4b28b2 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
}
`;