Skip to content

Commit 89a95f5

Browse files
committed
Prevent zooming
1 parent b98b416 commit 89a95f5

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

src/app.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@
4444
--sidebar-ring: hsl(217.2 91.2% 59.8%);
4545

4646
--radius: 0.5rem;
47+
48+
/* Prevent zooming */
49+
touch-action: pan-x pan-y;
50+
height: 100%
4751
}
4852

4953
.dark {

src/app.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html lang="%paraglide.lang%">
33
<head>
44
<meta charset="utf-8" />
5-
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1" />
66
<meta name="description" content="A simple and intuitive kiosk survey application for collecting feedback.">
77
<link rel="apple-touch-icon" sizes="180x180" href="%sveltekit.assets%/apple-touch-icon.png">
88
<link rel="icon" type="image/png" sizes="32x32" href="%sveltekit.assets%/favicon-32x32.png">

0 commit comments

Comments
 (0)