调整公共样式

This commit is contained in:
2024-12-11 17:14:45 +08:00
parent f5af8ed640
commit 9ccba5ea1c
4 changed files with 11 additions and 22 deletions

View File

@@ -4,15 +4,6 @@
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>utools-list</title> <title>utools-list</title>
<style>
* {
margin: 0;
padding: 0;
}
body {
height: 100%;
}
</style>
</head> </head>
<body> <body>
<div id="app"></div> <div id="app"></div>

View File

@@ -56,16 +56,3 @@ const handleItemClick = (item: ListItem): void => {
@click="handleItemClick" @click="handleItemClick"
/> />
</template> </template>
<style>
html,
body {
margin: 0;
padding: 0;
height: 100%;
}
#app {
height: 100%;
}
</style>

View File

@@ -1,4 +1,5 @@
import { createApp } from 'vue' import { createApp } from 'vue'
import './style.css'
import type { App as AppType } from 'vue' import type { App as AppType } from 'vue'
import App from './App.vue' import App from './App.vue'

10
src/style.css Normal file
View File

@@ -0,0 +1,10 @@
html,
body {
margin: 0;
padding: 0;
height: 100%;
}
#app {
height: 100%;
}