From aecdeb9b216803f407fe3b48574bf7664262ef01 Mon Sep 17 00:00:00 2001 From: Divyansh Singh <40380293+brc-dd@users.noreply.github.com> Date: Tue, 21 Mar 2023 15:55:17 +0530 Subject: [PATCH] fix(theme): fix aside position when footer is there (#2115) --- src/client/theme-default/components/VPDoc.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/theme-default/components/VPDoc.vue b/src/client/theme-default/components/VPDoc.vue index 3b8b1ef173f..a352445b990 100644 --- a/src/client/theme-default/components/VPDoc.vue +++ b/src/client/theme-default/components/VPDoc.vue @@ -128,10 +128,10 @@ const pageName = computed(() => } .aside-container { - position: sticky; + position: fixed; top: 0; - margin-top: calc((var(--vp-nav-height) + var(--vp-layout-top-height, 0px)) * -1 - 32px); padding-top: calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 32px); + width: 224px; height: 100vh; overflow-x: hidden; overflow-y: auto;