From 594898affc769829f4db95e29e4bf3ec3e9cc254 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Sat, 7 Oct 2023 21:14:48 -0400 Subject: [PATCH] fix: Sidebar should collapse after control click (again) closes #5958 --- app/components/Sidebar/Sidebar.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/components/Sidebar/Sidebar.tsx b/app/components/Sidebar/Sidebar.tsx index 823e88e47..60227e694 100644 --- a/app/components/Sidebar/Sidebar.tsx +++ b/app/components/Sidebar/Sidebar.tsx @@ -311,7 +311,12 @@ const Container = styled(Flex)` ${(props: ContainerProps) => props.$isHovering && css(hoverStyles)} - &:hover, + &:hover { + ${ToggleButton} { + opacity: 1; + } + } + &:focus-within { ${hoverStyles}