fix: iOS zoom on focusing inputs

This commit is contained in:
2026-10-11 00:20:07 +04:00
parent 031d3707c2
commit 2a41ac9423
3 changed files with 14 additions and 8 deletions
-8
View File
@@ -70,14 +70,6 @@
</main>
<style>
:global(*) { box-sizing: border-box; margin: 0; padding: 0; }
:global(body) {
background: var(--tg-bg, #fff);
color: var(--tg-text, #000);
font-family: system-ui, -apple-system, sans-serif;
min-height: 100vh;
}
main { display: flex; flex-direction: column; height: 100vh; }
.splash {
+13
View File
@@ -0,0 +1,13 @@
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
background: var(--tg-bg, #fff);
color: var(--tg-text, #000);
font-family: system-ui, -apple-system, sans-serif;
min-height: 100vh;
}
/* iOS Safari: без этого при фокусе на input страница зумится */
input, textarea, select {
font-size: 16px;
}
+1
View File
@@ -1,3 +1,4 @@
import './app.css'
import { mount } from 'svelte'
import App from './App.svelte'