Dashboard: Refactor container css to use flex for height instead of calc (#24009)

* Dashboard: Ability to hide dashboard toolbar

* Updated snapshot
This commit is contained in:
Torkel Ödegaard
2020-06-16 16:33:25 +02:00
committed by GitHub
parent fefbbc65a8
commit 2288609195
5 changed files with 35 additions and 36 deletions

View File

@@ -16,13 +16,7 @@
.panel-in-fullscreen {
.react-grid-layout {
height: 100% !important;
}
.dashboard-container--has-submenu {
.react-grid-layout {
height: calc(100% - 50px) !important;
}
height: 90% !important;
}
.react-grid-item {

View File

@@ -5,8 +5,6 @@
&--view {
flex: 1 1 0;
height: 90%;
margin: 0 $dashboard-padding;
padding-top: $dashboard-padding;
}
}
@@ -28,14 +26,6 @@
display: none;
}
.dashboard-container {
padding: 0;
}
.submenu-controls {
padding: 0 $dashboard-padding $space-sm $dashboard-padding;
}
.search-container {
left: 0 !important;
}