Skip to content

Commit 7dd809f

Browse files
committed
Fix overscroll behavior
1 parent deed1c8 commit 7dd809f

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

components/cmd/CommandMenu.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1552,6 +1552,8 @@ const runBounce = () => {
15521552
scroll-padding: 4px;
15531553
overflow-y: auto;
15541554
1555+
overscroll-behavior: contain;
1556+
15551557
padding-bottom: 4px;
15561558
}
15571559

components/modals/ConstantsModal.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,8 @@ const handleCopy = (target) => {
158158
.constants {
159159
max-height: 600px;
160160
overflow: auto;
161+
162+
overscroll-behavior: contain;
161163
}
162164
163165
.module {

0 commit comments

Comments
 (0)