Skip to content

Commit

Permalink
feat: hide scrollbar in aside (#169)
Browse files Browse the repository at this point in the history
Co-authored-by: Puru Vijay <[email protected]>
  • Loading branch information
tanhauhau and PuruVJ authored Jul 22, 2023
1 parent c31f579 commit 83a366a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/tiny-suns-tease.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sveltejs/site-kit': patch
---

hide scrollbar in aside
4 changes: 4 additions & 0 deletions packages/site-kit/src/lib/docs/DocsOnThisPage.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,10 @@
top: var(--sk-nav-height);
left: calc(100vw - (var(--sidebar-width)));
overflow-y: auto;
scrollbar-width: none;
}
.on-this-page::-webkit-scrollbar {
display: none;
}
.heading {
Expand Down

0 comments on commit 83a366a

Please sign in to comment.