From aa2031eac3b4bb992e59878bed413914ad93db51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krzysztof=20=C5=BBuraw?= <9116238+krzysztofzuraw@users.noreply.github.com> Date: Tue, 4 Apr 2023 10:56:53 +0200 Subject: [PATCH] Remove scrollbar on Safari when on details page (#3448) --- src/components/Layouts/Detail/Root.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Layouts/Detail/Root.tsx b/src/components/Layouts/Detail/Root.tsx index 5fc73b622..109e81eac 100644 --- a/src/components/Layouts/Detail/Root.tsx +++ b/src/components/Layouts/Detail/Root.tsx @@ -12,7 +12,7 @@ interface DetailPageLayoutProps { withSavebar?: boolean; } -const contentWithSidebarHeight = `calc(100vh - ${savebarHeight} - ${borderHeight})`; +const contentWithSidebarHeight = `calc(100vh - ${savebarHeight} - ${borderHeight} * 2)`; const contentWithoutSidebarHeight = `calc(100vh - ${borderHeight}`; export const RootLayout: React.FC = ({