Skip to content

Commit

Permalink
CSS: Set overscroll-behavior: none for HTML element
Browse files Browse the repository at this point in the history
This prevents overscroll of the main window on WKWebView on macOS.
  • Loading branch information
bnjmnt4n authored and gulbanana committed Mar 18, 2024
1 parent 1662f37 commit ec01ed8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
@import "@catppuccin/palette/css/catppuccin.css";

:root {
overscroll-behavior: none;
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
Expand Down Expand Up @@ -182,4 +183,4 @@ ol,
ul,
label {
pointer-events: all;
}
}

0 comments on commit ec01ed8

Please sign in to comment.