Hide the sidebar if it's empty.

When updating the view check to see if the sidebar
contains any visible children elements. If not,
hide it.
This commit is contained in:
John Glover
2013-02-06 12:09:34 +01:00
parent d1a5c0803d
commit f0005bed6c
6 changed files with 24 additions and 12 deletions

View File

@@ -14,7 +14,6 @@
.recline-graph .graph .alert {
width: 450px;
margin: auto;
}
.flotr-mouse-value {
@@ -34,4 +33,4 @@
.flotr-legend-color-box {
padding: 5px;
}
}

View File

@@ -193,4 +193,3 @@ div.data-table-cell-content-numeric > a.data-table-cell-edit {
.recline-read-only a.row-header-menu {
display: none;
}

View File

@@ -1,6 +1,5 @@
.recline-data-explorer .data-view-container {
display: block;
margin-right: 225px;
}
.recline-data-explorer .data-view-sidebar {

View File

@@ -1,11 +1,14 @@
.recline-transform .script {
margin-right: 10px;
.recline-transform {
overflow: hidden;
}
.recline-transform .script textarea {
width: 100%;
height: 100px;
font-family: monospace;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.recline-transform h2 {
@@ -17,10 +20,6 @@
margin-top: -2px;
}
.recline-transform .preview {
margin-right: 10px;
}
.expression-preview-parsing-status {
color: #999;
}
@@ -36,4 +35,3 @@
.recline-transform .before-after .after.different {
font-weight: bold;
}