mirror of
https://github.com/apache/superset.git
synced 2024-09-12 08:39:45 -04:00
fix: Side menu of the dashboard component will scroll out of dashboard (#15888)
This commit is contained in:
parent
16a26bac35
commit
f6115a73d4
@ -69,10 +69,11 @@ const StyledDiv = styled.div`
|
|||||||
flex: 1;
|
flex: 1;
|
||||||
`;
|
`;
|
||||||
|
|
||||||
|
// @z-index-above-dashboard-charts + 1 = 11
|
||||||
const FiltersPanel = styled.div`
|
const FiltersPanel = styled.div`
|
||||||
grid-column: 1;
|
grid-column: 1;
|
||||||
grid-row: 1 / span 2;
|
grid-row: 1 / span 2;
|
||||||
z-index: 2;
|
z-index: 11;
|
||||||
`;
|
`;
|
||||||
|
|
||||||
const StickyPanel = styled.div<{ width: number }>`
|
const StickyPanel = styled.div<{ width: number }>`
|
||||||
@ -82,12 +83,13 @@ const StickyPanel = styled.div<{ width: number }>`
|
|||||||
flex: 0 0 ${({ width }) => width}px;
|
flex: 0 0 ${({ width }) => width}px;
|
||||||
`;
|
`;
|
||||||
|
|
||||||
|
// @z-index-above-dashboard-charts + 1 = 11
|
||||||
const StyledHeader = styled.div`
|
const StyledHeader = styled.div`
|
||||||
grid-column: 2;
|
grid-column: 2;
|
||||||
grid-row: 1;
|
grid-row: 1;
|
||||||
position: sticky;
|
position: sticky;
|
||||||
top: 0px;
|
top: 0px;
|
||||||
z-index: 2;
|
z-index: 11;
|
||||||
`;
|
`;
|
||||||
|
|
||||||
const StyledContent = styled.div<{
|
const StyledContent = styled.div<{
|
||||||
|
Loading…
Reference in New Issue
Block a user