Index: app/views/layouts/base.html.erb =================================================================== --- app/views/layouts/base.html.erb (revision 18397) +++ app/views/layouts/base.html.erb (working copy) @@ -112,16 +112,16 @@
+ + - - <%= call_hook :view_layouts_base_body_bottom %> Index: public/stylesheets/application.css =================================================================== --- public/stylesheets/application.css (revision 18397) +++ public/stylesheets/application.css (working copy) @@ -1,3 +1,4 @@ +html, body { min-height: 100vh; } html {overflow-y:scroll;} body { font-family: Verdana, sans-serif; font-size: 12px; color:#333; margin: 0; padding: 0; min-width: 900px; } @@ -10,7 +11,9 @@ pre, code {font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace;} /***** Layout *****/ +div[id^="wrapper"] { min-height: inherit; } #wrapper {background: white;overflow: hidden;} +#wrapper3 { display: flex; flex-direction: column; } #top-menu {background: #3E5B76; color: #fff; height:1.8em; font-size: 0.8em; padding: 2px 2px 0px 6px;} #top-menu ul {margin: 0; padding: 0;} @@ -80,7 +83,7 @@ #admin-menu ul {margin: 0; padding: 0;} #admin-menu li {margin: 0; padding: 0 0 6px 0; list-style-type:none;} -#main {display: flex; flex-direction: row-reverse;} +#main {flex-grow: 2; display: flex; flex-direction: row-reverse;} #sidebar{ flex-shrink: 0; width: 22%; padding-left: 20px; background: #EEEEEE; border-left: 1px solid #ddd} #sidebar h3{ font-size: 14px; margin-top:14px; color: #666; }