mirror of
https://gitee.com/wonderful-code/buildadmin
synced 2024-11-21 14:41:29 +00:00
style(Terminal):优化终端弹窗样式
This commit is contained in:
parent
1811082aa6
commit
a8f364cd4d
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user