-
-
-
-
-
-
+
+
-
diff --git a/src/components/Viewport.vue b/src/components/Viewport.vue
new file mode 100644
index 000000000..a82f01c5e
--- /dev/null
+++ b/src/components/Viewport.vue
@@ -0,0 +1,124 @@
+
+
+
+
+
+
+
diff --git a/src/style.css b/src/style.css
index f69131543..28e960fc6 100644
--- a/src/style.css
+++ b/src/style.css
@@ -24,10 +24,7 @@ a:hover {
body {
margin: 0;
- display: flex;
- place-items: center;
- min-width: 320px;
- min-height: 100vh;
+ overflow: hidden;
}
h1 {
@@ -59,10 +56,8 @@ button:focus-visible {
}
#app {
- max-width: 1280px;
- margin: 0 auto;
- padding: 2rem;
- text-align: center;
+ width: 100%;
+ height: 100vh;
}
@media (prefers-color-scheme: light) {
diff --git a/vite.config.ts b/vite.config.ts
index 033620ec7..416e6a81a 100644
--- a/vite.config.ts
+++ b/vite.config.ts
@@ -1,5 +1,4 @@
-///
-import { defineConfig } from 'vite'
+import { defineConfig } from 'vitest/config'
import vue from '@vitejs/plugin-vue'
// https://vite.dev/config/