统一安全码按钮水平排列和垂直居中
Some checks are pending
Security Checks / security (push) Waiting to run

为安全码主页面和管理安全码弹窗增加桌面端单行、等高、垂直居中的统一操作区规则;不包含后端或未跟踪文件。
This commit is contained in:
smail 2026-10-16 08:11:09 +08:00
parent c59549004a
commit 28f1432294

View File

@ -283,4 +283,26 @@
flex: 0 0 auto;
vertical-align: middle;
}
:where(.security-recovery-actions, .recovery-dialog-actions) {
display: flex !important;
flex: 0 0 auto;
flex-flow: row nowrap !important;
align-items: center !important;
align-content: center !important;
white-space: nowrap;
}
:where(.security-recovery-actions, .recovery-dialog-actions) > .el-button,
:where(.security-recovery-actions, .recovery-dialog-actions) > button,
:where(.security-recovery-actions, .recovery-dialog-actions) .el-button {
display: inline-flex !important;
flex: 0 0 auto !important;
align-items: center !important;
justify-content: center !important;
box-sizing: border-box;
margin: 0 !important;
white-space: nowrap !important;
writing-mode: horizontal-tb !important;
}
}