Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix(theme): fix aside position when footer is there (#2115)
  • Loading branch information
brc-dd committed Mar 21, 2023
1 parent 7e20562 commit aecdeb9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/client/theme-default/components/VPDoc.vue
Expand Up @@ -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;
Expand Down

0 comments on commit aecdeb9

Please sign in to comment.