diff --git a/client/app/scripts/charts/nodes-chart.js b/client/app/scripts/charts/nodes-chart.js index b6101992d..3bd821df4 100644 --- a/client/app/scripts/charts/nodes-chart.js +++ b/client/app/scripts/charts/nodes-chart.js @@ -162,14 +162,15 @@ const NodesChart = React.createClass({ wasShifted = true; } const errorClassNames = this.state.maxNodesExceeded ? 'nodes-chart-error' : 'nodes-chart-error hide'; + const svgClassNames = this.state.maxNodesExceeded || _.size(nodeElements) === 0 ? 'hide' : ''; return (
-
Too many nodes to show in the browser.
Please select a different topology.
+
Too many nodes to show in the browser.
We're working on it, but for now, try a different topology?
- + {function(interpolated) { let interpolatedTranslate = wasShifted ? interpolated.val : panTranslate; diff --git a/client/app/styles/main.less b/client/app/styles/main.less index 2970640cb..5a5dab6d3 100644 --- a/client/app/styles/main.less +++ b/client/app/styles/main.less @@ -200,6 +200,7 @@ h2 { } svg { + .hideable; position: absolute; top: 0px; }