style(Terminal):优化终端弹窗样式

This commit is contained in:
妙码生花 2024-09-09 15:20:59 +08:00
parent 1811082aa6
commit a8f364cd4d

View File

@ -1,6 +1,6 @@
<template>
<div>
<el-dialog v-model="terminal.state.show" :title="t('terminal.Terminal')" class="ba-terminal-dialog">
<el-dialog v-model="terminal.state.show" :title="t('terminal.Terminal')" class="ba-terminal-dialog main-dialog">
<el-scrollbar ref="terminalScrollbarRef" :max-height="500" class="terminal-scrollbar">
<el-alert
class="terminal-warning-alert"
@ -327,6 +327,7 @@ const changePackageManager = (val: string) => {
display: block;
width: fit-content;
margin: 0 auto;
padding-top: 12px;
}
.config-buttons {
display: flex;
@ -335,6 +336,9 @@ const changePackageManager = (val: string) => {
padding-top: 20px;
padding-right: 20px;
}
:deep(.main-dialog) {
--el-dialog-padding-primary: 16px 16px 0 16px;
}
:deep(.ba-terminal-dialog) {
--el-dialog-width: 46% !important;
}