From 515f5e8e73975ce68974304f0f02d59895e73d46 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Thu, 13 Apr 2023 22:14:18 -0400 Subject: [PATCH] fix: Right sidebar header should be draggable on desktop --- app/scenes/Document/components/SidebarLayout.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/scenes/Document/components/SidebarLayout.tsx b/app/scenes/Document/components/SidebarLayout.tsx index 19d610516..6b0f94675 100644 --- a/app/scenes/Document/components/SidebarLayout.tsx +++ b/app/scenes/Document/components/SidebarLayout.tsx @@ -10,6 +10,7 @@ import Flex from "~/components/Flex"; import Scrollable from "~/components/Scrollable"; import Tooltip from "~/components/Tooltip"; import useMobile from "~/hooks/useMobile"; +import { draggableOnDesktop } from "~/styles"; import { fadeIn } from "~/styles/animations"; type Props = React.HTMLAttributes & { @@ -87,6 +88,7 @@ const Title = styled(Flex)` `; const Header = styled(Flex)` + ${draggableOnDesktop()} align-items: center; position: relative; padding: 16px 12px 16px 16px;