Skip to content

Commit

Permalink
fix: overscroll behavior
Browse files Browse the repository at this point in the history
Signed-off-by: Innei <i@innei.in>
  • Loading branch information
Innei committed Jul 5, 2024
1 parent 5761b55 commit a2cb30d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/renderer/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
<head>
<meta charset="UTF-8" />
<meta name="referrer" content="no-referrer" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0"
/>

<title>Follow</title>

<script>
Expand All @@ -18,7 +23,6 @@
(document.documentElement.dataset.theme = "dark");
})();
</script>
<meta name="viewport" content="width=device-width, initial-scale=1" />
</head>
<body>
<div id="root">
Expand Down
2 changes: 2 additions & 0 deletions src/renderer/src/styles/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ body,

--fo-font-family: "SN Pro", system-ui, sans-serif;
@apply font-theme;

overscroll-behavior: none;
}

:focus-visible {
Expand Down

0 comments on commit a2cb30d

Please sign in to comment.