fix(web): 修复禁用按钮与弹窗布局

This commit is contained in:
Zhou Weidong committed 2026-10-19 12:56:07 +08:00
1 parent 6f522303a0
commit c8bf4a8fd4
3 files changed
+39 -8

No files matched your search

+17
View File
@@ -166,8 +166,12 @@
}
.cover-preview-card img {
position: absolute;
inset: 0;
display: block;
width: 100%;
height: 100%;
max-height: 100%;
object-fit: cover;
}
@@ -265,6 +269,19 @@
.editor-grid--two {
grid-template-columns: 1fr;
}
.cover-editor {
flex-direction: column;
align-items: center;
}
.cover-preview-card {
flex-basis: 128px;
}
.cover-editor-meta {
width: 100%;
}
}
html.dark .cover-preview-card,
+8
View File
@@ -52,6 +52,14 @@ body {
background: var(--el-color-danger-dark-2) !important;
border-color: var(--el-color-danger-dark-2) !important;
}
.el-button--danger.is-disabled,
.el-button--danger.is-disabled:hover {
color: var(--el-text-color-placeholder) !important;
background: var(--el-fill-color-light) !important;
border-color: var(--el-border-color-lighter) !important;
cursor: not-allowed;
opacity: 1;
}
.el-message-box__btns .el-button--danger {
color: #fff !important;
background: var(--el-color-danger) !important;