Skip to content

Commit ff1f0f4

Browse files
committed
refactor: Move prevent zoom to app instead of component
1 parent 911e5ba commit ff1f0f4

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

example/style.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
export default `
22
width: 100%;
33
margin: auto;
4+
touch-action: pan-x pan-y;
45
56
.content {
67
width: clamp(200px, 100%, 1000px);

src/style.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ export default `
1818
1919
.item-content {
2020
flex: 1;
21-
touch-action: pan-x pan-y;
2221
}
2322
2423
.dots-area {

0 commit comments

Comments
 (0)