From 13b5c5554ce9169d39e84e708e147adcb3e9eb14 Mon Sep 17 00:00:00 2001 From: anika-ahluwalia Date: Fri, 24 Apr 2020 18:38:05 -0500 Subject: fixed scrolling UI --- src/client/views/nodes/ScriptingBox.scss | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/client/views/nodes/ScriptingBox.scss b/src/client/views/nodes/ScriptingBox.scss index 761a54e42..4746d62d4 100644 --- a/src/client/views/nodes/ScriptingBox.scss +++ b/src/client/views/nodes/ScriptingBox.scss @@ -10,14 +10,19 @@ display: flex; flex-direction: column; height: calc(100% - 30px); + table-layout: fixed; + + overflow-y: hidden; + white-space: nowrap; .scriptingBox-wrapper { - height: 100%; width: 100%; + height: 100%; + max-height: calc(100%-30px); display: flex; flex-direction: row; justify-content: center; - + overflow-y: hidden; .scriptingBox-textArea { flex: 70; @@ -26,7 +31,7 @@ box-sizing: border-box; resize: none; padding: 7px; - flex-grow: 100%; + overflow-y: hidden; } .scriptingBox-plist { @@ -35,8 +40,8 @@ height: 100%; box-sizing: border-box; resize: none; - padding: 7px; - flex-grow: 100%; + padding: 2px; + overflow-y: scroll; } } -- cgit v1.2.3-70-g09d2