Skip to content

Commit

Permalink
Mitigate scrolls in Safari mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
tmarti committed Jun 11, 2024
1 parent 11c699f commit a272a68
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
<title>Embedding Viewer</title>
</head>
<body>
Expand Down
1 change: 1 addition & 0 deletions src/App.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
body {
overscroll-behavior: none;
overflow: hidden;
}

#root {
Expand Down

0 comments on commit a272a68

Please sign in to comment.