diff --git a/src/pages/dashboard.js b/src/pages/dashboard.js
index d76dee4..c552ce4 100644
--- a/src/pages/dashboard.js
+++ b/src/pages/dashboard.js
@@ -64,9 +64,7 @@ function renderStatCards(page, services, version) {
${gw?.running ? '运行中' : '已停止'}
-
- ${gw?.pid ? 'PID: ' + gw.pid : ''}
-
+ ${gw?.pid ? 'PID: ' + gw.pid : ''}
${guardian?.running ? '运行中' : '已停止'}
-
健康监控
+
健康监控
${watchdog?.running ? '运行中' : '已停止'}
-
看门狗
+
看门狗
${version.current || '未知'}
-
- 服务 ${runningCount}/${services.length} 运行中
-
+
服务 ${runningCount}/${services.length} 运行中
`
}
diff --git a/src/style/components.css b/src/style/components.css
index f6888ab..7ada37f 100644
--- a/src/style/components.css
+++ b/src/style/components.css
@@ -44,6 +44,12 @@
font-weight: 700;
}
+.stat-card-meta {
+ font-size: var(--font-size-xs);
+ color: var(--text-tertiary);
+ margin-top: 4px;
+}
+
/* 状态点 */
.status-dot {
width: 8px;
diff --git a/src/style/pages.css b/src/style/pages.css
index f4de68e..7274bf9 100644
--- a/src/style/pages.css
+++ b/src/style/pages.css
@@ -145,11 +145,17 @@
.file-item.active { background: var(--accent-muted); color: var(--accent-hover); }
.editor-area {
- background: var(--bg-card);
- border: 1px solid var(--border-primary);
- border-radius: var(--radius-lg);
- display: flex;
- flex-direction: column;
+ flex: 1;
+ width: 100%;
+ background: transparent;
+ border: none;
+ resize: none;
+ outline: none;
+ color: var(--text-primary);
+ font-family: var(--font-mono);
+ font-size: var(--font-size-sm);
+ line-height: 1.7;
+ padding: var(--space-lg);
}
.editor-toolbar {
diff --git a/src/style/variables.css b/src/style/variables.css
index bf41a83..bd17278 100644
--- a/src/style/variables.css
+++ b/src/style/variables.css
@@ -48,6 +48,7 @@
--border-primary: rgba(255, 255, 255, 0.08);
--border-secondary: rgba(255, 255, 255, 0.04);
+ --border-focus: rgba(129, 140, 248, 0.5);
--text-primary: #e4e4e7;
--text-secondary: #a1a1aa;