refactor: refactor layout

This commit is contained in:
vben
2020-11-24 22:59:29 +08:00
parent 25d43a5f7c
commit 0692b4798c
51 changed files with 1243 additions and 912 deletions

View File

@@ -35,7 +35,7 @@ html,
body {
width: 100%;
height: 100%;
overflow: hidden;
overflow-x: hidden;
&.color-weak {
filter: invert(80%);
@@ -160,9 +160,7 @@ object {
vertical-align: baseline !important;
}
#app,
#app > div,
.ant-layout {
#app {
width: 100%;
height: 100%;
}
@@ -170,8 +168,8 @@ object {
.ant-layout {
background: #f0f2f5;
&-content {
position: relative;
overflow: hidden;
}
// &-content {
// position: relative;
// overflow: hidden;
// }
}

View File

@@ -101,14 +101,3 @@
}
}
}
.reset-layout() {
.ant-layout {
background: #f1f1f6 !important;
&-content {
position: relative;
overflow: hidden;
}
}
}