From d02c66fe09a3818b04807fcfd76e111665ce9f83 Mon Sep 17 00:00:00 2001 From: David Kutugata Date: Fri, 1 Nov 2019 10:48:58 -0700 Subject: [PATCH] Moved the toolbar to render right below inputs. This saves a bit of space with single line block of code. --- .../native-editor/nativeCell.tsx | 44 ++++++++++--------- 1 file changed, 23 insertions(+), 21 deletions(-) diff --git a/src/datascience-ui/native-editor/nativeCell.tsx b/src/datascience-ui/native-editor/nativeCell.tsx index 47e08ec646d8..46c2c7cb3f42 100644 --- a/src/datascience-ui/native-editor/nativeCell.tsx +++ b/src/datascience-ui/native-editor/nativeCell.tsx @@ -161,7 +161,6 @@ export class NativeCell extends React.Component { {this.renderCollapseBar(true)} {this.renderControls()} {this.renderInput()} - {this.renderMiddleToolbar()} {this.renderAddDivider(true)}
@@ -629,26 +628,29 @@ export class NativeCell extends React.Component { private renderInput = () => { if (this.shouldRenderInput()) { return ( - +
+ + {this.renderMiddleToolbar()} +
); } return null;