Skip to content

Commit

Permalink
Reapply "Fully prevent overscroll"
Browse files Browse the repository at this point in the history
This reverts commit eae9614.

Still needed for view builds.
  • Loading branch information
AbeJellinek committed Nov 4, 2024
1 parent 879dd96 commit 0f1cd53
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/common/stylesheets/view.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
html, body {
overscroll-behavior: none;
}
5 changes: 4 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,10 @@ function generateViewConfig(build) {
mode: build === 'view-dev' ? 'development' : 'production',
devtool: build === 'web' ? false : 'source-map',
entry: {
view: ['./src/index.' + build + '.js']
view: [
'./src/index.' + build + '.js',
'./src/common/stylesheets/view.scss'
],
},
output: {
path: path.resolve(__dirname, './build/' + build),
Expand Down

0 comments on commit 0f1cd53

Please sign in to comment.