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 4c0a143 commit 87092fc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions assets/hb/modules/blog/scss/post/_toc.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
}

@include media-breakpoint-up(lg) {
height: calc(100vh - #{$hb-blog-toc-top});
top: $hb-blog-toc-top;
height: calc(100vh - var(--#{$prefix}top-offset));

@include top-offset;
}
}

Expand Down

0 comments on commit 87092fc

Please sign in to comment.