diff --git a/superset/assets/src/SqlLab/components/SqlEditor.jsx b/superset/assets/src/SqlLab/components/SqlEditor.jsx index f6c52c231..63db4c22e 100644 --- a/superset/assets/src/SqlLab/components/SqlEditor.jsx +++ b/superset/assets/src/SqlLab/components/SqlEditor.jsx @@ -143,7 +143,6 @@ class SqlEditor extends React.PureComponent { onResizeStart() { // Set the heights on the ace editor and the ace content area after drag starts // to smooth out the visual transition to the new heights when drag ends - document.getElementById('brace-editor').style.height = `calc(100% - ${SQL_TOOLBAR_HEIGHT}px)`; document.getElementsByClassName('ace_content')[0].style.height = '100%'; } onResizeEnd([northPercent, southPercent]) { @@ -314,7 +313,7 @@ class SqlEditor extends React.PureComponent { onDragStart={this.onResizeStart} onDragEnd={this.onResizeEnd} > -
+
- + ); } @@ -394,9 +393,9 @@ class SqlEditor extends React.PureComponent { : t('You must run the query successfully first'); return (
-
+
- + + } {isFeatureEnabled(FeatureFlag.SCHEDULED_QUERIES) && - + } - + - + - - {ctasControls} - - + { ctasControls && ( + + {ctasControls} + + )} + - +
-
+
{ diff --git a/superset/assets/src/SqlLab/components/TemplateParamsEditor.jsx b/superset/assets/src/SqlLab/components/TemplateParamsEditor.jsx index c945b060b..07746902f 100644 --- a/superset/assets/src/SqlLab/components/TemplateParamsEditor.jsx +++ b/superset/assets/src/SqlLab/components/TemplateParamsEditor.jsx @@ -121,7 +121,6 @@ export default class TemplateParamsEditor extends React.Component { modalTitle={t('Template Parameters')} triggerNode={