From 63449caf4cb2c7e8449e4f8aee1d8f504fa949df Mon Sep 17 00:00:00 2001 From: Divyansh Singh <40380293+brc-dd@users.noreply.github.com> Date: Tue, 25 Oct 2022 23:01:33 +0530 Subject: [PATCH] fix(banner): prevent hidden local nav on scroll --- src/client/theme-default/components/VPLocalNav.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/theme-default/components/VPLocalNav.vue b/src/client/theme-default/components/VPLocalNav.vue index a7a6a3de1eb..a0a3a56e72c 100644 --- a/src/client/theme-default/components/VPLocalNav.vue +++ b/src/client/theme-default/components/VPLocalNav.vue @@ -48,7 +48,7 @@ function scrollToTop() { width: 100%; background-color: var(--vp-c-bg); transition: border-color 0.5s, background-color 0.5s; - margin-top: var(--vp-layout-top-height, 0px); + padding-top: var(--vp-layout-top-height, 0px); } @media (min-width: 960px) {