Body view fixes?

This commit is contained in:
2024-10-19 21:20:43 +02:00
parent 6e2885cba6
commit f6e1a54e74
3 changed files with 7 additions and 1 deletions

View File

@ -31,4 +31,7 @@ const currentScreen = computed(() => {
// Disable right click
addEventListener('contextmenu', (event) => event.preventDefault())
// Disable pinch zoom
addEventListener('gesturestart', (event) => event.preventDefault())
</script>

View File

@ -20,6 +20,9 @@ body {
-webkit-user-select: none; /* Safari */
-ms-user-select: none; /* IE 10 and IE 11 */
user-select: none; /* Standard syntax */
// Disable pinch zoom
touch-action: pan-x pan-y;
}
h1,