From a261ab5e9697277bec029803f1fa0c890f0c8fd5 Mon Sep 17 00:00:00 2001 From: anika-ahluwalia Date: Sat, 18 Apr 2020 17:47:03 -0500 Subject: fix button UI on scripting, changed button onClick --- src/client/views/nodes/ScriptingBox.scss | 2 +- src/client/views/nodes/ScriptingBox.tsx | 10 ++++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) (limited to 'src/client/views') diff --git a/src/client/views/nodes/ScriptingBox.scss b/src/client/views/nodes/ScriptingBox.scss index 3dfd65bc1..ffef1410d 100644 --- a/src/client/views/nodes/ScriptingBox.scss +++ b/src/client/views/nodes/ScriptingBox.scss @@ -34,7 +34,7 @@ height: 30px; .scriptingBox-button { - width: 33%; + width: 50%; resize: auto; } diff --git a/src/client/views/nodes/ScriptingBox.tsx b/src/client/views/nodes/ScriptingBox.tsx index bd20f9f67..317c48c1a 100644 --- a/src/client/views/nodes/ScriptingBox.tsx +++ b/src/client/views/nodes/ScriptingBox.tsx @@ -84,7 +84,9 @@ export class ScriptingBox extends ViewBoxAnnotatableComponent; return (
this.props.isSelected(true) && e.stopPropagation()}> +
this.props.isSelected(true) && e.stopPropagation()} >