mirror of
https://github.com/apache/superset.git
synced 2024-09-17 11:09:47 -04:00
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:
parent
77db0651d8
commit
99085d583d
@ -98,12 +98,13 @@ const defaultProps = {
|
|||||||
url: '',
|
url: '',
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// @z-index-above-dashboard-charts + 1 = 11
|
||||||
const TimeTableStyles = styled.div`
|
const TimeTableStyles = styled.div`
|
||||||
height: ${props => props.height}px;
|
height: ${props => props.height}px;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
|
||||||
th {
|
th {
|
||||||
z-index: 1; // to cover sparkline
|
z-index: 11 !important; // to cover sparkline
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user