Skip to content

Commit

Permalink
fix: sticky ToC not working when enabling sidebar modules (#205)
Browse files Browse the repository at this point in the history
  • Loading branch information
razonyang committed Jun 19, 2023
1 parent 88e3b84 commit a459225
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions assets/hb/modules/blog/scss/_sidebar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
display: grid;
grid-gap: 1rem;
grid-template-areas: "sidebar main";
grid-template-columns: 1fr 3fr;
grid-template-columns: 1fr minmax(0, 3fr);
}

@include media-breakpoint-up(xl) {
grid-template-columns: 1fr 4fr;
grid-template-columns: 1fr minmax(0, 4fr);
}
}

Expand All @@ -25,6 +25,5 @@

.hb-blog-main {
grid-area: main;
overflow: hidden;
}
}

0 comments on commit a459225

Please sign in to comment.