fix(theme): fix aside position when footer is there

pull/2115/head
Divyansh Singh 3 years ago committed by GitHub
parent 7e20562c1b
commit 6ef998d931
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -128,9 +128,8 @@ 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);
height: 100vh;
overflow-x: hidden;

Loading…
Cancel
Save