From 17bd0df5a162abfec51907dae3f52d228dd3ca90 Mon Sep 17 00:00:00 2001 From: Ian Jones Date: Tue, 16 Apr 2024 14:20:34 +0100 Subject: [PATCH] fix: Ensure settings panels are not overlapped by elements with explicit z-index values --- .../src/pages/FlowEditor/components/Settings/index.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/editor.planx.uk/src/pages/FlowEditor/components/Settings/index.tsx b/editor.planx.uk/src/pages/FlowEditor/components/Settings/index.tsx index 42ec847356..3462cd56e2 100644 --- a/editor.planx.uk/src/pages/FlowEditor/components/Settings/index.tsx +++ b/editor.planx.uk/src/pages/FlowEditor/components/Settings/index.tsx @@ -97,6 +97,8 @@ const Root = styled(Box)(({ theme }) => ({ left: 0, right: 0, minHeight: `calc(100% - ${HEADER_HEIGHT}px)`, + // Ensure settings panels sit above editor content with explicit z-index set, will be redundent when we move to side-tabbed settings + zIndex: "100", [`& .${classes.tabs}`]: { backgroundColor: theme.palette.border.main, },