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

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

@ -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;

Loading…
Cancel
Save