diff --git a/caravel/assets/javascripts/SqlLab/components/SqlEditor.jsx b/caravel/assets/javascripts/SqlLab/components/SqlEditor.jsx
index 231a146f1de47..db77ed7d3b05b 100644
--- a/caravel/assets/javascripts/SqlLab/components/SqlEditor.jsx
+++ b/caravel/assets/javascripts/SqlLab/components/SqlEditor.jsx
@@ -227,22 +227,24 @@ class SqlEditor extends React.PureComponent {
-
- {editorBottomBar}
-
-
+
+
+
+ {editorBottomBar}
+
+
+
diff --git a/caravel/assets/javascripts/SqlLab/components/SqlEditorLeftBar.jsx b/caravel/assets/javascripts/SqlLab/components/SqlEditorLeftBar.jsx
index 24afa279f0fad..420b2c80c1378 100644
--- a/caravel/assets/javascripts/SqlLab/components/SqlEditorLeftBar.jsx
+++ b/caravel/assets/javascripts/SqlLab/components/SqlEditorLeftBar.jsx
@@ -99,62 +99,64 @@ class SqlEditorLeftBar extends React.PureComponent {
}
const shouldShowReset = window.location.search === '?reset=1';
return (
-
- {networkAlert}
-
-
(
-
- Database: {o.label}
-
- )}
- />
-
-
-
-
-
-
-
-
- {this.props.tables.map((table) => (
-
+
+ {networkAlert}
+
+
(
+
+ Database: {o.label}
+
+ )}
+ />
+
+
+
+
+
- ))}
+
+
+
+ {this.props.tables.map((table) => (
+
+ ))}
+
+ {shouldShowReset &&
+
+ }
- {shouldShowReset &&
-
- }
);
}
diff --git a/caravel/assets/javascripts/SqlLab/main.css b/caravel/assets/javascripts/SqlLab/main.css
index 2cee79c75b354..ae7d3e8232e58 100644
--- a/caravel/assets/javascripts/SqlLab/main.css
+++ b/caravel/assets/javascripts/SqlLab/main.css
@@ -1,3 +1,6 @@
+body {
+ overflow: hidden;
+}
.inlineBlock {
display: inline-block;
}
@@ -29,11 +32,22 @@
padding-bottom: 5px;
}
-.scrollbar {
- position: relative;
- width: 100%;
- overflow-y: auto;
- height: 100%;
+.scrollbar-container {
+ position: relative;
+ overflow: hidden;
+ width: 100%;
+ height: 95%;
+}
+
+.scrollbar-content {
+ position: absolute;
+ top: 0px;
+ left: 0px;
+ right: 0px;
+ bottom: 0px;
+ overflow: scroll;
+ margin-right: 0px;
+ margin-bottom: 100px;
}
.Workspace .btn-sm {