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 = ({