From 1004515bda905759853f6ba78e04f3142ba07e27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Sat, 13 Feb 2016 17:01:18 +0100 Subject: [PATCH] ux(fix): fixed page header height without using fixed height, now 100% height works --- public/less/grafana.less | 22 ---------------------- public/less/page.less | 24 ++++++++++++++++++++++++ 2 files changed, 24 insertions(+), 22 deletions(-) diff --git a/public/less/grafana.less b/public/less/grafana.less index a3c81471fb3..3b744c7db98 100644 --- a/public/less/grafana.less +++ b/public/less/grafana.less @@ -74,11 +74,6 @@ top: 20%; } -.grafana-app { - display: block; - min-height: 100%; -} - .histogram-chart { position:relative; } @@ -88,23 +83,6 @@ overflow: auto; } -.dashboard-container { - padding: 5px 5px; - width: 100%; - box-sizing: border-box; -} - -.main-view { - background-image: url(/img/grafana_pattern.png); - background-position: 100% -550px; - background-repeat: no-repeat; -} - -.page-dashboard { - .main-view { - background-image: none; - } -} // // Srollbars diff --git a/public/less/page.less b/public/less/page.less index 9408d9ac39d..feefec98f44 100644 --- a/public/less/page.less +++ b/public/less/page.less @@ -1,3 +1,26 @@ +.grafana-app { + display: block; + height: 100%; +} + +.dashboard-container { + padding: 5px 5px; + width: 100%; + box-sizing: border-box; +} + +.main-view { + background-image: url(/img/grafana_pattern.png); + background-position: 100% -550px; + background-repeat: no-repeat; + height: 100%; +} + +.page-dashboard { + .main-view { + background-image: none; + } +} .page-container { background-color: @pageBackground; @@ -6,6 +29,7 @@ padding: 25px 56px; max-width: 1060px; margin-left: 0; + height: 100%; }