From 79fe08e9b6bbae5ce71ee5399ca5e8c7b7b4fbcb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nico=20H=C3=BClscher?= <25116822+eweren@users.noreply.github.com> Date: Fri, 10 Oct 2025 15:06:57 +0200 Subject: [PATCH] fix: mobile safari sidebar navigation issue (#10329) * fix: mobile safari sidebar navigation issue * fix: readd hover for possible edge cases --- app/components/Sidebar/Shared.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/components/Sidebar/Shared.tsx b/app/components/Sidebar/Shared.tsx index 69d085f3d0..202b9a6fd9 100644 --- a/app/components/Sidebar/Shared.tsx +++ b/app/components/Sidebar/Shared.tsx @@ -146,7 +146,8 @@ const StyledSidebar = styled(Sidebar)<{ $hoverTransition: boolean }>` ${({ $hoverTransition }) => $hoverTransition && ` - &: ${hover} { + @media (hover: hover) { + &:${hover} { ${StyledSearchPopover} { width: 85%; } @@ -154,6 +155,7 @@ const StyledSidebar = styled(Sidebar)<{ $hoverTransition: boolean }>` ${ToggleWrapper} { opacity: 1; transform: translateX(0); + } } } `}