diff --git a/assets/css/main.css b/assets/css/main.css index 508a5f3..af8d02e 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -11,7 +11,14 @@ body, #__nuxt { min-height: 100%; max-width: 100%; - overflow-x: hidden; +} + +html { + overflow-x: clip; +} + +body { + overflow-x: clip; } body { diff --git a/components/DurationField.vue b/components/DurationField.vue index 8253690..f97dbce 100644 --- a/components/DurationField.vue +++ b/components/DurationField.vue @@ -79,6 +79,7 @@ function onSlider(event: Event) { function onPointerDown(event: PointerEvent) { if (event.button !== 0) return + if (event.pointerType === 'touch') return const input = event.currentTarget as HTMLInputElement const startY = event.clientY const startValue = model.value diff --git a/pages/index.vue b/pages/index.vue index 0ac9483..0994a18 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -1,5 +1,5 @@