ux(fix): fixed page header height without using fixed height, now 100% height works

This commit is contained in:
Torkel Ödegaard
2016-02-13 17:01:18 +01:00
parent 7d75e0e53c
commit 1004515bda
2 changed files with 24 additions and 22 deletions

View File

@@ -74,11 +74,6 @@
top: 20%; top: 20%;
} }
.grafana-app {
display: block;
min-height: 100%;
}
.histogram-chart { .histogram-chart {
position:relative; position:relative;
} }
@@ -88,23 +83,6 @@
overflow: auto; 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 // Srollbars

View File

@@ -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 { .page-container {
background-color: @pageBackground; background-color: @pageBackground;
@@ -6,6 +29,7 @@
padding: 25px 56px; padding: 25px 56px;
max-width: 1060px; max-width: 1060px;
margin-left: 0; margin-left: 0;
height: 100%;
} }