Skip to content

Commit 29aaba5

Browse files
authored
Override Scalar's overscroll-behavior (#3120)
1 parent daf41fc commit 29aaba5

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.changeset/tame-camels-sparkle.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'gitbook': patch
3+
---
4+
5+
Override Scalar's overscroll-behavior

packages/gitbook/src/components/DocumentView/OpenAPI/scalar.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
@import "@scalar/api-client-react/style.css";
22

3+
html,
4+
body {
5+
/** Override Scalar's overscroll-behavior */
6+
@apply !overscroll-auto;
7+
}
8+
39
.light .scalar-modal-layout,
410
.light .scalar-app,
511
.light .scalar {

0 commit comments

Comments
 (0)