Skip to content

Commit

Permalink
Fix overscroll behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksandr-slobodian committed May 22, 2024
1 parent 5ec7d8b commit 9601d85
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
padding: 0 var(--pv-size-base-2);
max-height: 100%;
overflow-y: auto;
overscroll-behavior: none;
.list {
display: flex;
flex-direction: column;
Expand Down
5 changes: 5 additions & 0 deletions src/global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ body {
background-color: var(--pv-color-gray-2);
}

html,
body {
overscroll-behavior: none;
}

#root {
margin: 0 40px 0 340px;
min-height: 100%;
Expand Down

0 comments on commit 9601d85

Please sign in to comment.