perf: 同步代码

This commit is contained in:
xiaoxian521
2021-10-19 20:37:36 +08:00
parent 997e31e7be
commit 80e51e0f7a
9 changed files with 75 additions and 50 deletions

View File

@@ -15,13 +15,6 @@
display: none;
}
.el-dialog {
transform: none;
left: 0;
position: relative;
margin: 0 auto;
}
// refine element ui upload
.upload-container {
.el-upload {

View File

@@ -1,6 +1,6 @@
@import "./mixin.scss";
@import "./transition.scss";
@import "./element-ui.scss";
@import "./element-plus.scss";
@import "./sidebar.scss";
body {

View File

@@ -27,11 +27,23 @@
position: fixed;
top: 0;
right: 0;
z-index: 9;
z-index: 1000;
width: calc(100% - 210px);
transition: width 0.28s;
}
.main-hidden {
margin-left: 0 !important;
.fixed-header {
width: 100% !important;
+ .app-main {
padding-top: 37px;
}
}
}
.el-popper.is-light {
border: none !important;
}
@@ -334,6 +346,20 @@
background-color: $menuHover !important;
}
}
.el-menu-item,
.el-sub-menu {
i {
width: 20px;
text-align: center;
font-size: 16px;
}
i.fa {
margin-right: 5px;
font-size: 16px;
}
}
}
// horizontal菜单折叠