mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-10-26 23:20:35 +08:00
Prevent rubber-band effect on macOS when overscrolling
This yields a more native-app-like feel.
This commit is contained in:
+7
-5
@@ -2,6 +2,13 @@
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
/* Prevent rubber-band effect when scrolling via touchpad on macOS. */
|
||||
overscroll-behavior: none;
|
||||
}
|
||||
|
||||
body {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
@@ -11,11 +18,6 @@ body {
|
||||
background-color: var(--color-background-default);
|
||||
}
|
||||
|
||||
html {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.global-oid {
|
||||
color: var(--color-foreground-emphasized);
|
||||
font-size: var(--font-size-small);
|
||||
|
||||
Reference in New Issue
Block a user