From 9ccba5ea1cf57e89a9ee0139de828d88f2f5bc7a Mon Sep 17 00:00:00 2001 From: lanyuanxiaoyao Date: Wed, 11 Dec 2024 17:14:45 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=85=AC=E5=85=B1=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 9 --------- src/App.vue | 13 ------------- src/main.ts | 1 + src/style.css | 10 ++++++++++ 4 files changed, 11 insertions(+), 22 deletions(-) create mode 100644 src/style.css diff --git a/index.html b/index.html index 3ee6049..01d8439 100644 --- a/index.html +++ b/index.html @@ -4,15 +4,6 @@ utools-list -
diff --git a/src/App.vue b/src/App.vue index cbd3449..cadbfb6 100644 --- a/src/App.vue +++ b/src/App.vue @@ -56,16 +56,3 @@ const handleItemClick = (item: ListItem): void => { @click="handleItemClick" /> - - diff --git a/src/main.ts b/src/main.ts index 526db72..ce4dd6b 100644 --- a/src/main.ts +++ b/src/main.ts @@ -1,4 +1,5 @@ import { createApp } from 'vue' +import './style.css' import type { App as AppType } from 'vue' import App from './App.vue' diff --git a/src/style.css b/src/style.css new file mode 100644 index 0000000..01bce8b --- /dev/null +++ b/src/style.css @@ -0,0 +1,10 @@ +html, +body { + margin: 0; + padding: 0; + height: 100%; +} + +#app { + height: 100%; +} \ No newline at end of file