You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by so...@apache.org on 2022/04/27 03:59:32 UTC

[dolphinscheduler] branch dev updated: [fix-9785][UI Next][dev] dynamic change height in viewlog when full screen (#9788)

This is an automated email from the ASF dual-hosted git repository.

songjian pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git


The following commit(s) were added to refs/heads/dev by this push:
     new 8fab44cb93 [fix-9785][UI Next][dev] dynamic change height in viewlog when full screen (#9788)
8fab44cb93 is described below

commit 8fab44cb934b6b4cf66b9b3130f9e170da168f3c
Author: rockfang <65...@qq.com>
AuthorDate: Wed Apr 27 11:59:27 2022 +0800

    [fix-9785][UI Next][dev] dynamic change height in viewlog when full screen (#9788)
---
 dolphinscheduler-ui-next/src/components/log-modal/index.tsx | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/dolphinscheduler-ui-next/src/components/log-modal/index.tsx b/dolphinscheduler-ui-next/src/components/log-modal/index.tsx
index d46702ea16..acc3cdbdb8 100644
--- a/dolphinscheduler-ui-next/src/components/log-modal/index.tsx
+++ b/dolphinscheduler-ui-next/src/components/log-modal/index.tsx
@@ -156,7 +156,12 @@ export default defineComponent({
           }
         ])}
       >
-        <NLog rows={30} log={this.logRef} loading={this.logLoadingRef} />
+        <NLog
+          rows={30}
+          log={this.logRef}
+          loading={this.logLoadingRef}
+          style={{ height: isFullscreen ? 'calc(100vh - 140px)' : '525px' }}
+        />
       </Modal>
     )
   }