simcha90 commented on a change in pull request #15384:
URL: https://github.com/apache/superset/pull/15384#discussion_r660330426
##########
File path:
superset-frontend/src/dashboard/components/DashboardBuilder/DashboardBuilder.tsx
##########
@@ -89,10 +89,12 @@ const StyledHeader = styled.div`
z-index: 2;
`;
-const StyledContent = styled.div`
+const StyledContent = styled.div<{
+ fullSizeChartId: number | null;
+}>`
grid-column: 2;
grid-row: 2;
- z-index: 1;
+ z-index: ${({ fullSizeChartId }) => (fullSizeChartId ? 1000 : 1)};
Review comment:
I think `z-index: 2` also enough, I think better not to use big zIndexes
because if need later override them it will be more difficult
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]