提交 efeeed2a 编写于 作者: A Andrey

content block height fix

上级 59582aae
...@@ -18,15 +18,20 @@ ...@@ -18,15 +18,20 @@
} }
.content-wrapper { .content-wrapper {
min-height: 100vh; min-height: 900px;
display: table;
width: 100%; width: 100%;
padding: 20px; padding: 20px;
background: #EAEBEC; background: #EAEBEC;
height: 100%;
width: 100%;
.container-fluid { .container-fluid {
background: #FFF; background: #FFF;
padding: $gl-padding; padding: $gl-padding;
min-height: 90vh; /*min-height: 90vh;*/
height: 100%;
min-height: 100%;
&.container-blank { &.container-blank {
background: none; background: none;
...@@ -36,6 +41,43 @@ ...@@ -36,6 +41,43 @@
} }
} }
.content {
height: 100%;
width: 100%;
}
.max_height {
height: 100%;
display: table;
width: 100%;
}
.project-show-readme {
height: 100%;
display: table-row;
}
.wiki {
min-width: 1167px;
}
section {
height: 100%;
display: table-row;
}
html, body {
height: 100%;
margin: 0;
}
.page-with-sidebar{
min-height: 100%;
height: 100%;
}
.nav-sidebar { .nav-sidebar {
margin-top: 14 + $header-height; margin-top: 14 + $header-height;
margin-bottom: 100px; margin-bottom: 100px;
......
...@@ -25,5 +25,5 @@ ...@@ -25,5 +25,5 @@
= render "layouts/flash" = render "layouts/flash"
%div{ class: container_class } %div{ class: container_class }
.content .content
.clearfix .clearfix.max_height
= yield = yield
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册