Skip to content

Commit

Permalink
fixed: Fixed issues with terminal not adapting
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhaoJiSen committed Oct 25, 2024
1 parent 9c27747 commit 314c798
Show file tree
Hide file tree
Showing 18 changed files with 3,063 additions and 1,941 deletions.
1 change: 1 addition & 0 deletions ui/components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ declare module 'vue' {
Index1: typeof import('./src/components/Kubernetes/MainContent/index.vue')['default']
K8sTerminal: typeof import('./src/components/k8sTerminal/index.vue')['default']
Logo: typeof import('./src/components/Kubernetes/Sidebar/components/Logo/index.vue')['default']
Main: typeof import('./src/components/Kubernetes/MainContent/main.vue')['default']
MainContent: typeof import('./src/components/Kubernetes/MainContent/index.vue')['default']
NButton: typeof import('naive-ui')['NButton']
NCollapse: typeof import('naive-ui')['NCollapse']
Expand Down
1 change: 0 additions & 1 deletion ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
"@vicons/material": "^0.12.0",
"@vicons/tabler": "^0.12.0",
"@vitejs/plugin-vue": "^5.0.5",
"autoprefixer": "^10.4.19",
"postcss": "^8.4.39",
"prettier": "^3.3.3",
"sass": "^1.77.8",
Expand Down
4 changes: 4 additions & 0 deletions ui/src/components/Kubernetes/MainContent/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,8 @@ $--el-main-bg-color: #1e1e1e;
width: 100% !important;
height: calc(100vh - 90px) !important;
}

:deep(.xterm) {
padding: 10px 0 10px 10px;
}
}
Loading

0 comments on commit 314c798

Please sign in to comment.