fix: interface unusable becasue no interaction was possible

This commit is contained in:
PandaDEV 2024-12-25 23:44:06 +10:00
parent 1417d35cd7
commit 2fa82d7584
No known key found for this signature in database
GPG key ID: 13EFF9BAF70EE75C
2 changed files with 7 additions and 4 deletions

View file

@ -1,5 +1,5 @@
<template> <template>
<div> <div style="pointer-events: auto;">
<NuxtPage /> <NuxtPage />
</div> </div>
</template> </template>
@ -59,6 +59,8 @@ onMounted(async () => {
scroll-behavior: smooth; scroll-behavior: smooth;
scrollbar-width: thin; scrollbar-width: thin;
user-select: none; user-select: none;
position: relative;
z-index: 1;
--os-handle-bg: #ADA9A1; --os-handle-bg: #ADA9A1;
--os-handle-bg-hover: #78756F; --os-handle-bg-hover: #78756F;
@ -66,11 +68,12 @@ onMounted(async () => {
} }
html, html,
body, body {
#__nuxt {
background-color: transparent; background-color: transparent;
width: 750px; width: 750px;
height: 474px; height: 474px;
user-select: none !important;
pointer-events: none !important;
} }
.os-scrollbar-horizontal { .os-scrollbar-horizontal {

View file

@ -12,7 +12,7 @@
height: 100vh; height: 100vh;
pointer-events: none; pointer-events: none;
user-select: none; user-select: none;
z-index: 0; z-index: -1;
background-image: url('/noise.png'); background-image: url('/noise.png');
background-repeat: repeat; background-repeat: repeat;
image-rendering: pixelated; image-rendering: pixelated;