fix: iOS zoom on focusing inputs
This commit is contained in:
@@ -70,14 +70,6 @@
|
|||||||
</main>
|
</main>
|
||||||
|
|
||||||
<style>
|
<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; }
|
main { display: flex; flex-direction: column; height: 100vh; }
|
||||||
|
|
||||||
.splash {
|
.splash {
|
||||||
|
|||||||
@@ -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,3 +1,4 @@
|
|||||||
|
import './app.css'
|
||||||
import { mount } from 'svelte'
|
import { mount } from 'svelte'
|
||||||
import App from './App.svelte'
|
import App from './App.svelte'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user