Skip to content

Commit

Permalink
demo: do not stick sidebar on docs layout
Browse files Browse the repository at this point in the history
  • Loading branch information
razonyang committed Sep 7, 2022
1 parent 6a69ed3 commit 13a9124
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions exampleSite/assets/main/scss/_custom.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
.sidebar {
.post-toc {
position: sticky;
top: 84px;
&:not(.docs-sidebar) {
.post-toc {
position: sticky;
top: 84px;
}
}
}

0 comments on commit 13a9124

Please sign in to comment.