Skip to content

Commit

Permalink
style(sidebar): change overflow as auto, width as thin and color when…
Browse files Browse the repository at this point in the history
… hovering
  • Loading branch information
razonyang committed Aug 23, 2024
1 parent cd9b2fa commit 6b9029c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion assets/main/scss/_sidebar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,14 @@
@if $fixedSidebar {
@include media-breakpoint-up(lg) {
height: calc(100vh - 84px);
overflow-y: scroll;
overflow: auto;
position: sticky;
scrollbar-width: thin;
top: 84px;

&:hover {
scrollbar-color: var(--#{$prefix}primary) rgba(0,0,0,0);
}
}
}
}
Expand Down

0 comments on commit 6b9029c

Please sign in to comment.