style(dialog): 添加全局对话框居中显示样式
This commit is contained in:
parent
3e60c30931
commit
7eb16f7681
@ -32,3 +32,14 @@ body {
|
|||||||
padding: 0 !important;
|
padding: 0 !important;
|
||||||
background: transparent;
|
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;
|
||||||
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user