修复历史迁移兼容和数据库页面布局
Security Checks / security (push) Waiting to run

This commit is contained in:
xuans committed 2026-08-31 17:56:16 +08:00
1 parent 8390e27e6c
commit 57f1dab894
9 files changed
+235 -21

No files matched your search

+23 -2
View File
@@ -12,6 +12,8 @@
}
.desc {
flex: 1 1 320px;
min-width: 0;
padding-right: 20px;
margin-bottom: 18px;
}
@@ -95,10 +97,15 @@
}
.database-form {
flex: 1 1 620px;
width: min(100%, 620px);
min-width: 520px;
max-width: 620px;
}
.database-form .el-form {
.database-form .el-form,
.database-form :deep(.el-select),
.database-form :deep(.el-input) {
width: 100%;
}
@@ -129,7 +136,7 @@
.database-inline-fields {
display: grid;
grid-template-columns: minmax(0, 1fr) 180px;
grid-template-columns: minmax(260px, 1fr) minmax(170px, 0.55fr);
gap: 16px;
}
@@ -137,6 +144,14 @@
min-width: 0;
}
.database-host-field :deep(.el-form-item__label) {
width: 88px !important;
}
.database-port-field :deep(.el-form-item__label) {
width: 56px !important;
}
.database-host-field,
.database-port-field {
margin-bottom: 18px;
@@ -628,6 +643,12 @@
padding: 18px;
}
.database-form {
width: 100%;
min-width: 0;
max-width: none;
}
.database-inline-fields {
grid-template-columns: 1fr;
gap: 0;