Bri Prebilic Cole

GUI -- Bug fixes - Scroll bar doesn't appear on topo panels or table views, adju…

…stHeight for topo panels no longer called after view is changed.

Change-Id: I9e55e1e985f8751c21c2e82cb35192b2d7c670e2
......@@ -33,6 +33,10 @@ div.summary-list div.table-body {
overflow-y: scroll;
}
div.summary-list div.table-body::-webkit-scrollbar {
display: none;
}
div.summary-list tr.no-data td {
text-align: center;
font-style: italic;
......
......@@ -106,6 +106,10 @@ html[data-platform='iPad'] #topo-p-detail {
overflow-y: scroll;
}
.topo-p div.body::-webkit-scrollbar {
display: none;
}
.topo-p svg {
display: inline-block;
width: 42px;
......
......@@ -38,7 +38,8 @@
// internal state
var useDetails = true, // should we show details if we have 'em?
haveDetails = false, // do we have details that we could show?
sumFromTop; // summary panel distance from top of screen
sumFromTop, // summary panel distance from top of screen
unbindWatch;
// panels
var summary, detail;
......@@ -177,7 +178,7 @@
}
function watchWindow() {
$rootScope.$watchCollection(
unbindWatch = $rootScope.$watchCollection(
function () {
return {
h: $window.innerHeight,
......@@ -465,6 +466,7 @@
detail.destroy();
detail = null;
haveDetails = false;
unbindWatch();
}
// ==========================
......