未验证 提交 33ecce72 编写于 作者: R REJack

changed content-wrapper calc() from `%` to `vh` & added content-wrapper calc()...

changed content-wrapper calc() from `%` to `vh` & added content-wrapper calc() with collapsed header
上级 b90ae59d
...@@ -70,11 +70,17 @@ body { ...@@ -70,11 +70,17 @@ body {
} }
.content-wrapper { .content-wrapper {
min-height: ~"calc(100% - 102px)"; min-height: ~"calc(100vh - 101px)";
background-color: @content-bg; background-color: @content-bg;
z-index: 800; z-index: 800;
} }
@media (max-width: @screen-header-collapse) {
.content-wrapper {
min-height: ~"calc(100vh - 151px)";
}
}
.main-footer { .main-footer {
background: #fff; background: #fff;
padding: 15px; padding: 15px;
......
...@@ -87,10 +87,15 @@ body { ...@@ -87,10 +87,15 @@ body {
} }
} }
.content-wrapper { .content-wrapper {
min-height: calc(100% - 102px); min-height: calc(100vh - 101px);
background-color: #ecf0f5; background-color: #ecf0f5;
z-index: 800; z-index: 800;
} }
@media (max-width: 767px) {
.content-wrapper {
min-height: calc(100vh - 151px);
}
}
.main-footer { .main-footer {
background: #fff; background: #fff;
padding: 15px; padding: 15px;
......
此差异已折叠。
...@@ -88,10 +88,15 @@ body { ...@@ -88,10 +88,15 @@ body {
} }
} }
.content-wrapper { .content-wrapper {
min-height: calc(100% - 102px); min-height: calc(100vh - 101px);
background-color: #ecf0f5; background-color: #ecf0f5;
z-index: 800; z-index: 800;
} }
@media (max-width: 767px) {
.content-wrapper {
min-height: calc(100vh - 151px);
}
}
.main-footer { .main-footer {
background: #fff; background: #fff;
padding: 15px; padding: 15px;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册