Former-commit-id: 237bfa21ef445b329afdd92717812787db8d194d
This commit is contained in:
liyang
2018-07-07 20:06:48 +08:00
parent dac3e5ac28
commit b671ca61b1
3 changed files with 6 additions and 30 deletions
+1 -5
View File
@@ -5,11 +5,7 @@ html, body {
height: 100%; height: 100%;
font-family: "Arial", "Microsoft YaHei", "黑体", "宋体", sans-serif; font-family: "Arial", "Microsoft YaHei", "黑体", "宋体", sans-serif;
#app { #app {
position: absolute; @extend %full;
top: 0px;
bottom: 0px;
left: 0px;
right: 0px;
overflow: hidden; overflow: hidden;
a { a {
text-decoration: none; text-decoration: none;
+4 -20
View File
@@ -8,19 +8,11 @@
position: relative; position: relative;
// 背景上面的半透明遮罩 // 背景上面的半透明遮罩
.d2-layout-main-mask { .d2-layout-main-mask {
position: absolute; @extend %full;
top: 0px;
right: 0px;
bottom: 0px;
left: 0px;
} }
// 内容层 // 内容层
.d2-layout-main-content { .d2-layout-main-content {
position: absolute; @extend %full;
top: 0px;
right: 0px;
bottom: 0px;
left: 0px;
$d2-theme-header-height: 60px; $d2-theme-header-height: 60px;
.d2-theme-header { .d2-theme-header {
position: absolute; position: absolute;
@@ -42,11 +34,7 @@
flex-grow: 0; flex-grow: 0;
position: relative; position: relative;
.d2-layout-main-menu-side { .d2-layout-main-menu-side {
position: absolute; @extend %full;
top: 0px;
bottom: 0px;
left: 0px;
right: 0px;
overflow: hidden; overflow: hidden;
} }
} }
@@ -256,11 +244,7 @@
.d2-theme-container-main-body { .d2-theme-container-main-body {
// 布局组件 // 布局组件
.container-component { .container-component {
position: absolute; @extend %full;
top: 0px;
bottom: 0px;
left: 0px;
right: 0px;
overflow: hidden; overflow: hidden;
// 填充式布局组件 // 填充式布局组件
.d2-container-full { .d2-container-full {
+1 -5
View File
@@ -41,11 +41,7 @@ export default {
} }
} }
.page-index-article-body { .page-index-article-body {
position: absolute; @extend %full;
top: 0px;
bottom: 0px;
left: 0px;
right: 0px;
display: flex; display: flex;
flex-flow: column nowrap; flex-flow: column nowrap;
justify-content: center; justify-content: center;