Skip to content

Commit

Permalink
fix: correct the height and top of ToC
Browse files Browse the repository at this point in the history
  • Loading branch information
razonyang committed Aug 25, 2023
1 parent 917dd9c commit 5153d5f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions assets/hb/modules/docs/scss/_toc.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
grid-area: toc;

@include media-breakpoint-up(lg) {
position: sticky;
top: 86px;
height: calc(100vh - 86px);
height: calc(100vh - var(--#{$prefix}top-offset));
overflow-y: auto;

@include top-offset(sticky);
}
}

Expand Down

0 comments on commit 5153d5f

Please sign in to comment.