refactor(views): improve layout and scroll behavior

- Update Home.vue to use flex layout and proper scrolling
- Enhance Logs.vue scrollbar styling and remove redundant padding
- Set Vite server to listen on all network interfaces
This commit is contained in:
2026-03-17 22:21:42 +08:00
parent ce8376458e
commit fb074e203d
3 changed files with 26 additions and 7 deletions

View File

@@ -36,15 +36,19 @@ export default {
<style scoped>
.home-container {
min-height: 100vh;
height: 100vh;
background: var(--bg-color);
transition: background-color 0.3s;
overflow: hidden;
display: flex;
flex-direction: column;
}
.main-content {
margin-left: 240px;
margin-top: 64px;
padding: 24px;
min-height: calc(100vh - 64px);
flex: 1;
overflow-y: auto;
}
</style>