From c67107bd95f625b4edf221b271ca09a15a6fdb3d Mon Sep 17 00:00:00 2001 From: muerwre Date: Tue, 30 Jul 2019 05:16:01 +0700 Subject: [PATCH] fixed side pane --- src/components/main/SidePane/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/main/SidePane/index.tsx b/src/components/main/SidePane/index.tsx index 0e010837..7752a683 100644 --- a/src/components/main/SidePane/index.tsx +++ b/src/components/main/SidePane/index.tsx @@ -13,7 +13,7 @@ export const SidePane: FC = ({ const moveThis = useCallback(() => { const shift = window.innerWidth > (content_width + 64 + 20) - ? ((window.innerWidth - content_width - 64 - 20) / 2) - 54 - 10 + 64 + ? ((window.innerWidth - content_width - 64 - 20) / 2) - 54 + 64 : 10; setLeft(shift);