Skip to content

Commit

Permalink
fix: Add vertical scroll to sidebar when needed
Browse files Browse the repository at this point in the history
This will handle cases in desktop where the
sidebar was hiding its own content because it was too tall
and not letting the user scroll inside it.
This should have no effect on the mobile sidebar
since it has a fixed height
  • Loading branch information
acezard committed Apr 9, 2024
1 parent 0fc2292 commit 9e9e95c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions stylus/objects/sidebar.styl
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ $sidebar
width rem(220)
border-right rem(1) solid var(--dividerColor)
background-color var(--defaultBackgroundColor)
overflow-y auto
overflow-x hidden

+medium-screen()
justify-content space-between
Expand Down

0 comments on commit 9e9e95c

Please sign in to comment.