Skip to content

Commit

Permalink
add overscroll-behavior to popup & comments
Browse files Browse the repository at this point in the history
  • Loading branch information
haojiezhe12345 committed Aug 10, 2024
1 parent f292249 commit 451ebd3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.css
Original file line number Diff line number Diff line change
Expand Up @@ -647,6 +647,7 @@ body>* {
display: flex;
white-space: nowrap;
overflow: auto;
overscroll-behavior: contain;
box-sizing: border-box;
padding: 1.25rem 1rem 0.5rem;
/*scroll-behavior: smooth;*/
Expand Down Expand Up @@ -1547,6 +1548,7 @@ body>* {
min-height: 0;
padding: 1.5rem 2rem;
overflow: auto;
overscroll-behavior: contain;
}

.popupItem h2 {
Expand Down

0 comments on commit 451ebd3

Please sign in to comment.