fix: Prevent overscroll bounce

This commit is contained in:
binarybaron 2024-08-09 20:27:47 +02:00
parent 06f2a16715
commit 116d9c0f4f
No known key found for this signature in database
GPG key ID: 99B75D3E1476A26E

View file

@ -10,5 +10,25 @@
<body>
<div id="root"></div>
<script type="module" src="/src/renderer/index.tsx"></script>
<style>
::-webkit-scrollbar {
display: none;
}
*,
*::after,
*::before {
-webkit-user-select: none;
-webkit-user-drag: none;
-webkit-app-region: no-drag;
}
html,
body {
height: 100%;
margin: 0;
overflow: auto;
overscroll-behavior: none; /* Prevents the bounce effect */
}
</style>
</body>
</html>