From da9ea9f82c6f45fee0c9a948427eeea46e06ee00 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Fri, 14 Jun 2024 21:30:52 -0400 Subject: [PATCH] fix: Tweak top padding on TOC to always align with metadata --- app/scenes/Document/components/Contents.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/scenes/Document/components/Contents.tsx b/app/scenes/Document/components/Contents.tsx index fa24ddccb..82012e822 100644 --- a/app/scenes/Document/components/Contents.tsx +++ b/app/scenes/Document/components/Contents.tsx @@ -107,7 +107,7 @@ const Sticky = styled.div` background: ${s("background")}; transition: ${s("backgroundTransition")}; - margin-top: 80px; + margin-top: calc(50px + 6vh); margin-right: 52px; min-width: 204px; width: 228px;