perf: 优化弹窗 (#1081)

* perf: 修改不再存储 .env.devlopement

* perf: 优化弹窗

Co-authored-by: ibuler <ibuler@qq.com>
This commit is contained in:
fit2bot
2021-09-27 14:54:14 +08:00
committed by GitHub
parent a382c82732
commit e32d4e7ee0

View File

@@ -458,3 +458,25 @@ a {
.el-table-filter__list-item:hover {
color: $--color-text-primary;
}
.el-dialog {
// 居中弹框
position: absolute;
top: 50%;
left: 50%;
margin: 0 !important;
transform: translate(-50%, -50%);
// 防止超出视窗
max-height: calc(100% - 30px);
max-width: calc(100% - 30px);
//实现body内部滚动
display: flex;
flex-direction: column;
.el-dialog__body {
max-height: 90vh;
overflow: auto;
}
}