Overlay scrollbar

This commit is contained in:
2021-11-20 18:27:16 +09:00
parent e2c3feb36c
commit df5f0c0f65
4 changed files with 15 additions and 7 deletions

View File

@ -12,7 +12,7 @@ const sidebar-spacing-y = 0.7rem
background sidebar-opaque-background
transform translateX(-100%)
overflow-x hidden
overflow-y auto
overflow-y overlay
opacity 0
pointer-events none
box-shadow 24px 0 24px rgba(0, 0, 0, 0.2)