Skip to content

Commit

Permalink
修复 windows 切换文章滚动条闪烁的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
electh committed Mar 19, 2024
1 parent 49dbdc4 commit 2755d3f
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/index.css
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
html {
height: 100%;
}

body {
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
"Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
height: 100%;
overscroll-behavior: none;
}

Expand All @@ -18,6 +13,10 @@ code {
monospace;
}

html,
body,
#root {
height: 100%;
margin: 0;
overflow: hidden;
}

0 comments on commit 2755d3f

Please sign in to comment.