Browse Source

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

3.0.0/version-upgrade
rockfang 3 years ago committed by GitHub
parent
commit
8fab44cb93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      dolphinscheduler-ui-next/src/components/log-modal/index.tsx

7
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>
)
}

Loading…
Cancel
Save