diff --git a/dolphinscheduler-ui/src/components/monaco-editor/index.tsx b/dolphinscheduler-ui/src/components/monaco-editor/index.tsx index c0d7297c27a6..b565d9ce8b40 100644 --- a/dolphinscheduler-ui/src/components/monaco-editor/index.tsx +++ b/dolphinscheduler-ui/src/components/monaco-editor/index.tsx @@ -55,6 +55,10 @@ const props = { readOnly: false, language: 'shell' }) + }, + height: { + type: String as PropType, + default: '300px' } } @@ -164,7 +168,8 @@ export default defineComponent({
- - - - - - - - -
- -
-
-
-
+
+ + + + + + + + + + +
-
- + +
) } diff --git a/dolphinscheduler-ui/src/views/resource/components/resource/edit/index.tsx b/dolphinscheduler-ui/src/views/resource/components/resource/edit/index.tsx index 2b65c18bd4bd..6b692b4b0913 100644 --- a/dolphinscheduler-ui/src/views/resource/components/resource/edit/index.tsx +++ b/dolphinscheduler-ui/src/views/resource/components/resource/edit/index.tsx @@ -96,9 +96,10 @@ export default defineComponent({ - + h2 { line-height: 60px; text-align: center; @@ -26,6 +25,14 @@ } } +.editor-wrapper { + overflow: hidden; +} + +.button-area { + padding: 16px 0; +} + .form-content { padding: 0 50px 0 50px; }