The page zooms, keeps its height on phones and isn't reloaded by a pull

The viewport no longer forbids zooming (maximum-scale=1, user-scalable=no kept text at 10-12px out of reach), and it
covers the screen with the keyboard resizing the content. The app is 100dvh tall instead of 100vh, so its bottom isn't
under a phone browser's bar, and a pull past the top no longer reloads it (overscroll-behavior-y). New Styles/touch.css
holds what a touch screen gets, under (pointer: coarse) only: for now field text at 16px, so iOS doesn't zoom into a
focused field.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LsXgEaXee4GCU1hwYgPJXw
This commit is contained in:
thepraandClaude Opus 5.5 committed 2026-10-06 22:40:28 +02:00
1 parent 63d83810d7
commit 38336f9869
4 files changed
+23 -2

No files matched your search

+2 -2
View File
@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover, interactive-widget=resizes-content" />
<title>Index</title>
<base href="/" />
<link href="vendor/ionicons.min.css" rel="stylesheet" />
@@ -16,7 +16,7 @@
</head>
<body>
<div id="app" class="block relative h-screen w-full">
<div id="app" class="block relative h-dvh w-full">
<div class="mx-auto my-auto">Loading...</div>
</div>