diff options
author | Andrey <ad@2d-arts.com> | 2015-10-01 14:06:29 +0200 |
---|---|---|
committer | Andrey <ad@2d-arts.com> | 2015-10-01 14:06:29 +0200 |
commit | efeeed2a0a1798a8d5ad4bfd014f6f3f4d9f3d8c (patch) | |
tree | 3e9bb6fa58be7f0adf39753d659fcd71a47c06fb | |
parent | 59582aae578453a7f9888e2380a7412c4bf14f4f (diff) | |
download | gitlab-ce-efeeed2a0a1798a8d5ad4bfd014f6f3f4d9f3d8c.tar.gz |
content block height fix
-rw-r--r-- | app/assets/stylesheets/generic/sidebar.scss | 46 | ||||
-rw-r--r-- | app/views/layouts/_page.html.haml | 2 |
2 files changed, 45 insertions, 3 deletions
diff --git a/app/assets/stylesheets/generic/sidebar.scss b/app/assets/stylesheets/generic/sidebar.scss index c5ea3aca7ca..39532f28990 100644 --- a/app/assets/stylesheets/generic/sidebar.scss +++ b/app/assets/stylesheets/generic/sidebar.scss @@ -18,15 +18,20 @@ } .content-wrapper { - min-height: 100vh; + min-height: 900px; + display: table; width: 100%; padding: 20px; background: #EAEBEC; + height: 100%; + width: 100%; .container-fluid { background: #FFF; padding: $gl-padding; - min-height: 90vh; + /*min-height: 90vh;*/ + height: 100%; + min-height: 100%; &.container-blank { background: none; @@ -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 { margin-top: 14 + $header-height; margin-bottom: 100px; diff --git a/app/views/layouts/_page.html.haml b/app/views/layouts/_page.html.haml index 2468687b56d..95a6267e2eb 100644 --- a/app/views/layouts/_page.html.haml +++ b/app/views/layouts/_page.html.haml @@ -25,5 +25,5 @@ = render "layouts/flash" %div{ class: container_class } .content - .clearfix + .clearfix.max_height = yield |