refactor: remove virus svrollbar module

This commit is contained in:
Youwen Wu 2024-02-25 01:22:33 -08:00
parent afa26f7eea
commit f743695572
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3
3 changed files with 8 additions and 8 deletions

View file

@ -44,13 +44,8 @@
initializationSequence(); initializationSequence();
}, 3000); }, 3000);
}); });
let infotainmentViewport: Element;
let infotainmentContent: Element;
</script> </script>
<Svrollbar />
<main <main
class="select-none transition-opacity duration-300 overflow-hidden" class="select-none transition-opacity duration-300 overflow-hidden"
class:opacity-0={loading} class:opacity-0={loading}
@ -60,13 +55,11 @@
<Dashboard /> <Dashboard />
</div> </div>
<!-- the infotainment system --> <!-- the infotainment system -->
<Svrollbar viewport={infotainmentViewport} contents={infotainmentContent} />
<div <div
class="min-h-screen w-[65vw] right-0 absolute infotainment-container overflow-x-hidden" class="min-h-screen w-[65vw] right-0 absolute infotainment-container overflow-x-hidden"
bind:this={infotainmentViewport}
> >
<!-- dynamic app system (edit appList.ts to add new apps) --> <!-- dynamic app system (edit appList.ts to add new apps) -->
<div class="mx-10 mt-10 overflow-x-hidden" bind:this={infotainmentContent}> <div class="mx-10 mt-10 overflow-x-hidden">
<svelte:component this={appList[activeApp].component} /> <svelte:component this={appList[activeApp].component} />
</div> </div>
<div <div

6
package-lock.json generated Normal file
View file

@ -0,0 +1,6 @@
{
"name": "Jankboard-2",
"lockfileVersion": 3,
"requires": true,
"packages": {}
}

1
package.json Normal file
View file

@ -0,0 +1 @@
{}