From: Janicki Artur Date: Mon, 17 Sep 2018 09:31:06 +0000 (+0200) Subject: init resizing panels and improve new button. X-Git-Tag: 1.3.0~96^2~2 X-Git-Url: https://git.arvados.org/arvados-workbench2.git/commitdiff_plain/a6540e058f12352e3cde3486f6a613b6a7420172 init resizing panels and improve new button. Feature #14038 Arvados-DCO-1.1-Signed-off-by: Janicki Artur --- diff --git a/package.json b/package.json index 84d1510f..623e1170 100644 --- a/package.json +++ b/package.json @@ -21,6 +21,7 @@ "react-router-dom": "4.3.1", "react-router-redux": "5.0.0-alpha.9", "react-scripts-ts": "2.17.0", + "react-splitter-layout": "3.0.1", "react-transition-group": "2.4.0", "redux": "4.0.0", "redux-thunk": "2.3.0", diff --git a/src/views-components/side-panel-button/side-panel-button.tsx b/src/views-components/side-panel-button/side-panel-button.tsx index e39b3782..89c3400b 100644 --- a/src/views-components/side-panel-button/side-panel-button.tsx +++ b/src/views-components/side-panel-button/side-panel-button.tsx @@ -45,7 +45,7 @@ type SidePanelProps = SidePanelDataProps & DispatchProp & WithStyles; const transformOrigin: PopoverOrigin = { vertical: -50, - horizontal: 45 + horizontal: 0 }; const isButtonVisible = ({ router }: RootState) => { @@ -70,7 +70,7 @@ export const SidePanelButton = withStyles(styles)( const { anchorEl } = this.state; return {buttonVisible && - +