Skip to content

Commit

Permalink
fix: always show scroll to avoid layout shift
Browse files Browse the repository at this point in the history
  • Loading branch information
simonhyll committed May 18, 2024
1 parent 293dd2a commit 015b6b1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/overrides/Sidebar.astro
Original file line number Diff line number Diff line change
Expand Up @@ -111,4 +111,7 @@ const multiSidebarConfig: [string, boolean, Props][] = Astro.props.sidebar.map(
.top-level {
margin-bottom: 1rem;
}
.sidebar-pane {
overflow-y:scroll;
}
</style>

0 comments on commit 015b6b1

Please sign in to comment.