opt: optimize element ui dialog styles, make it to the center of screen

This commit is contained in:
RockYang
2023-08-22 08:57:14 +08:00
parent 596baac62e
commit 88c13e7b9a
6 changed files with 47 additions and 75 deletions

View File

@@ -24,4 +24,20 @@ html, body {
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
}
.el-overlay-dialog {
display flex
justify-content center
align-items center
overflow hidden
.el-dialog {
margin 0;
.el-dialog__body {
//max-height 1440px
}
}
}
</style>