Skip to content

Commit 93f0f50

Browse files
Create Svelte: Default App CSS fix (#4390)
* fix: Add touch-action to counter buttons * chore: Add changeset * Update .changeset/lemon-keys-run.md * Update .changeset/lemon-keys-run.md Co-authored-by: Rich Harris <[email protected]>
1 parent 6b114d7 commit 93f0f50

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/lemon-keys-run.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'create-svelte': patch
3+
---
4+
5+
Fix iOS double-tap zoom on counter buttons

packages/create-svelte/templates/default/src/lib/Counter.svelte

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
justify-content: center;
5151
border: 0;
5252
background-color: transparent;
53+
touch-action: manipulation;
5354
color: var(--text-color);
5455
font-size: 2rem;
5556
}

0 commit comments

Comments
 (0)