+
{scriptActions}
+
+ {contentList[activeTabKey]}
+
+
+ ) : (
+ contentList[activeTabKey]
+ )}
{isLogModalVisible && (
diff --git a/src/pages/crontab/index.less b/src/pages/crontab/index.less
index c025ed39..0ff60a4a 100644
--- a/src/pages/crontab/index.less
+++ b/src/pages/crontab/index.less
@@ -5,6 +5,23 @@
}
.crontab-detail {
+ .cron-detail-script-panel {
+ display: flex;
+ flex-direction: column;
+ }
+
+ .cron-detail-script-actions {
+ display: flex;
+ flex: 0 0 auto;
+ justify-content: flex-end;
+ padding-bottom: 12px;
+ }
+
+ .cron-detail-script-editor {
+ flex: 1;
+ min-height: 0;
+ }
+
.card-wrapper {
.ant-card:last-child {
.ant-card-body {