From 54760980bcb9c0ad2d543cdda93e1f9ca13eea52 Mon Sep 17 00:00:00 2001 From: alanna scott Date: Tue, 18 Apr 2017 16:38:44 -0700 Subject: [PATCH 1/3] fix scrolling in left hand panel for table meta data --- .../SqlLab/components/SqlEditor.jsx | 1 + .../SqlLab/components/SqlEditorLeftBar.jsx | 156 +++++++++--------- 2 files changed, 81 insertions(+), 76 deletions(-) diff --git a/superset/assets/javascripts/SqlLab/components/SqlEditor.jsx b/superset/assets/javascripts/SqlLab/components/SqlEditor.jsx index f1af66653fcf3..4e3e3e49f8f5c 100644 --- a/superset/assets/javascripts/SqlLab/components/SqlEditor.jsx +++ b/superset/assets/javascripts/SqlLab/components/SqlEditor.jsx @@ -194,6 +194,7 @@ class SqlEditor extends React.PureComponent { > -
-
- ( -
- Database: {o.label} -
- )} - mutator={this.dbMutator.bind(this)} - placeholder="Select a database" +
+
+ ( +
+ Database: {o.label} +
+ )} + mutator={this.dbMutator.bind(this)} + placeholder="Select a database" + /> +
+
+ -
-
+ } + {!this.props.queryEditor.schema && - } - {!this.props.queryEditor.schema && -