From eed0b8ba4d1692818f7a7fd1722bb9d2eb58bd3a Mon Sep 17 00:00:00 2001 From: Gert Hengeveld Date: Wed, 18 Dec 2024 10:54:36 +0100 Subject: [PATCH] Ensure status icon continues to claim space while hidden --- code/core/src/manager/components/sidebar/Tree.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/core/src/manager/components/sidebar/Tree.tsx b/code/core/src/manager/components/sidebar/Tree.tsx index 62c9774dc991..cbfc1e330be7 100644 --- a/code/core/src/manager/components/sidebar/Tree.tsx +++ b/code/core/src/manager/components/sidebar/Tree.tsx @@ -105,11 +105,11 @@ export const LeafNodeStyleWrapper = styled.div(({ theme }) => ({ }, '& [data-displayed="on"] + *': { - display: 'none', + visibility: 'hidden', }, '&:hover [data-displayed="off"] + *': { - display: 'none', + visibility: 'hidden', }, '&[data-selected="true"]': {