mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-05-02 14:56:10 -04:00
fix: Prevent overscroll bounce
This commit is contained in:
parent
06f2a16715
commit
116d9c0f4f
1 changed files with 20 additions and 0 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue