diff --git a/ui/src/chronograf/components/Panel.js b/ui/src/chronograf/components/Panel.js index 8a4ea1dfe6..3dbec819fc 100644 --- a/ui/src/chronograf/components/Panel.js +++ b/ui/src/chronograf/components/Panel.js @@ -90,16 +90,16 @@ const Panel = React.createClass({ const {panel, isExpanded} = this.props; return ( -
-
-
+
+
+
{panel.name || "Graph"}
-
-
-
-
+
+
+
+
{this.renderQueryTabList()} @@ -143,7 +143,7 @@ const Panel = React.createClass({ return null; } return ( -
+
{queries.map((q) => { const queryTabText = (q.measurement && q.fields.length !== 0) ? `${q.measurement}.${q.fields[0].field}` : 'Query'; return ( @@ -176,7 +176,7 @@ const Panel = React.createClass({ } return ( -
+
); diff --git a/ui/src/chronograf/components/QueryEditor.js b/ui/src/chronograf/components/QueryEditor.js index f391afa8ae..d3bcf4d7e6 100644 --- a/ui/src/chronograf/components/QueryEditor.js +++ b/ui/src/chronograf/components/QueryEditor.js @@ -97,7 +97,7 @@ const QueryEditor = React.createClass({ render() { return ( -
+
{this.renderQuery()} {this.renderLists()}
diff --git a/ui/src/chronograf/components/QueryTabItem.js b/ui/src/chronograf/components/QueryTabItem.js index ab16e8692f..60eda42e00 100644 --- a/ui/src/chronograf/components/QueryTabItem.js +++ b/ui/src/chronograf/components/QueryTabItem.js @@ -23,9 +23,9 @@ const QueryTabItem = React.createClass({ render() { return ( -
- {this.props.query.rawText ? 'Raw Text' : this.props.queryTabText} - +
+ {this.props.query.rawText ? 'Raw Text' : this.props.queryTabText} +
); },