From 1aace8a7049b092ab4995e0f6a3a0d6aa533f2c2 Mon Sep 17 00:00:00 2001 From: no99 <17663930442@163.com> Date: Tue, 15 Apr 2025 14:12:59 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BD=AC=E7=9B=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- src/style.css | 7 +------ src/views/DZP.vue | 63 ++++++++++++++++++++++++++++++++++++++++++++++--------- 3 files changed, 55 insertions(+), 17 deletions(-) diff --git a/package.json b/package.json index f533a05..835f996 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "version": "0.0.0", "type": "module", "scripts": { - "dev": "vite", + "dev": "vite --host", "build": "vite build", "preview": "vite preview" }, diff --git a/src/style.css b/src/style.css index f691315..b30313a 100644 --- a/src/style.css +++ b/src/style.css @@ -33,6 +33,7 @@ body { h1 { font-size: 3.2em; line-height: 1.1; + margin: 0; } button { @@ -58,12 +59,6 @@ button:focus-visible { padding: 2em; } -#app { - max-width: 1280px; - margin: 0 auto; - padding: 2rem; - text-align: center; -} @media (prefers-color-scheme: light) { :root { diff --git a/src/views/DZP.vue b/src/views/DZP.vue index ecde358..4d1d454 100644 --- a/src/views/DZP.vue +++ b/src/views/DZP.vue @@ -1,6 +1,6 @@ - +