Prevent overscroll on html and body elements
Browse filesAdded 'overscroll-behavior: none;' to html and body in main.css to prevent scroll chaining and improve scroll handling.
- src/styles/main.css +5 -0
src/styles/main.css
CHANGED
|
@@ -4,6 +4,11 @@
|
|
| 4 |
@tailwind components;
|
| 5 |
@tailwind utilities;
|
| 6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
@layer components {
|
| 8 |
.btn {
|
| 9 |
@apply inline-flex flex-shrink-0 cursor-pointer select-none items-center justify-center whitespace-nowrap outline-none transition-all focus:ring disabled:cursor-default;
|
|
|
|
| 4 |
@tailwind components;
|
| 5 |
@tailwind utilities;
|
| 6 |
|
| 7 |
+
html,
|
| 8 |
+
body {
|
| 9 |
+
overscroll-behavior: none;
|
| 10 |
+
}
|
| 11 |
+
|
| 12 |
@layer components {
|
| 13 |
.btn {
|
| 14 |
@apply inline-flex flex-shrink-0 cursor-pointer select-none items-center justify-center whitespace-nowrap outline-none transition-all focus:ring disabled:cursor-default;
|