style(dialog): 添加全局对话框居中显示样式

This commit is contained in:
xuans committed 2026-09-13 00:49:31 +08:00
1 parent 3e60c30931
commit 7eb16f7681
1 file changed
+11
+11
View File
@@ -32,3 +32,14 @@ body {
padding: 0 !important;
background: transparent;
}
/* Global dialog vertical and horizontal centering */
.el-overlay-dialog {
display: flex !important;
align-items: center !important;
justify-content: center !important;
}
.el-overlay-dialog .el-dialog {
margin: auto !important;
}