diff --git a/src/editor/js/components/editor.css b/src/editor/js/components/editor.css index e962785e7d035128d084f22c8bd85fd2a6c457fa..674f7ff102c986e98b7408ae0f8ba4ddb9ac3962 100644 --- a/src/editor/js/components/editor.css +++ b/src/editor/js/components/editor.css @@ -1,12 +1,13 @@ div#ks-editor #sidepanel { resize: horizontal; overflow: auto; - min-width: 50px; + min-width: 250px; max-width: 40%; height: inherit; margin: 0.3rem; padding: 0.25rem; + background-color: white; border: 1px lightgrey solid; border-radius: 5px; diff --git a/src/editor/js/components/editor.tsx b/src/editor/js/components/editor.tsx index 9fc1bd83aeb08674e57b6b9f6c9eea7339e40e8b..a5fbc4f8e37bf8c2346fb06b52896168fe52dcf8 100644 --- a/src/editor/js/components/editor.tsx +++ b/src/editor/js/components/editor.tsx @@ -30,6 +30,8 @@ export class Editor extends React.PureComponent< constructor(props: InferType<typeof Editor.propTypes>) { super(props); + this.loadGraph = this.loadGraph.bind(this); + // Set as new state this.state = { state: undefined,