Skip to content

Commit

Permalink
fix(ui): can scroll sidebar on Docs page
Browse files Browse the repository at this point in the history
  • Loading branch information
brian-mulier-p committed Sep 27, 2024
1 parent 0e0c645 commit 21d15e5
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions ui/src/components/docs/Toc.vue
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,20 @@
height: calc(100vh - 80px);
top: 80px;
position: sticky;
overflow-y: auto;
&::-webkit-scrollbar {
width: 2px;
}
&::-webkit-scrollbar-track {
-webkit-border-radius: 10px;
}
&::-webkit-scrollbar-thumb {
-webkit-border-radius: 10px;
background: var(--bs-gray-600);
}
&.collapsed {
padding: calc(var(--spacer) * 2) calc(var(--spacer) * 0.5);
Expand Down

0 comments on commit 21d15e5

Please sign in to comment.