From c345ee9e5ac41b63cab05d129e1b204fab57d1af Mon Sep 17 00:00:00 2001 From: Gabriel Cardoso Date: Fri, 7 Mar 2014 15:05:22 -0300 Subject: [PATCH] Fixing Content Area Background - Now there is no vertical scroll when the content does not occupy the full height; - The background area / borders go until the bottom for longer pages --- .../resources/admin-ui/css/admin-console.css | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/admin-ui-styles/src/main/resources/META-INF/resources/admin-ui/css/admin-console.css b/admin-ui-styles/src/main/resources/META-INF/resources/admin-ui/css/admin-console.css index 590f840990..4dc9264581 100644 --- a/admin-ui-styles/src/main/resources/META-INF/resources/admin-ui/css/admin-console.css +++ b/admin-ui-styles/src/main/resources/META-INF/resources/admin-ui/css/admin-console.css @@ -81,12 +81,12 @@ body { background-color: rgba(0,0,0,0.2); } -#content, #content-area { - background-color: #FFFFFF; +html, body, body > .container, #view { + height: 100%; } -html, body, body > .container, #view, #content-area{ - height: 100%; +body > .container { + height: calc(100% - 80px); } #content .glyphicon { @@ -144,7 +144,9 @@ th.kc-table-actions { border-color: #CECECE; border-style: solid; border-width: 0 1px; - padding: 0; + padding: 0 0 40px; + background-color: #fff; + min-height: 100%; } #content-area > * {