From 096a6a885711979ab328a07573098f9a276e80d3 Mon Sep 17 00:00:00 2001 From: hezhaohui Date: Fri, 17 Jul 2026 14:13:41 +0800 Subject: [PATCH] =?UTF-8?q?fix(styles):=20=E4=BF=AE=E5=A4=8D=E8=A1=A8?= =?UTF-8?q?=E6=A0=BC=E4=B8=AD=E7=8A=B6=E6=80=81=E6=96=87=E6=9C=AC=E6=B5=AE?= =?UTF-8?q?=E7=A9=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 移除 .status-text 的 display: flex,避免破坏 td 的 table-cell 布局 - 删除重复的状态文本样式定义 --- frontend/src/styles/global.css | 26 +------------------------- 1 file changed, 1 insertion(+), 25 deletions(-) diff --git a/frontend/src/styles/global.css b/frontend/src/styles/global.css index 32dc6ed..dc866e2 100644 --- a/frontend/src/styles/global.css +++ b/frontend/src/styles/global.css @@ -89,29 +89,6 @@ button { background: var(--text-dim); } -/* 状态文本 */ -.status-text { - font-size: 12px; - display: flex; - align-items: center; -} - -.status-text.ok { - color: var(--accent); -} - -.status-text.warn { - color: var(--warn); -} - -.status-text.err { - color: var(--err); -} - -.status-text.idle { - color: var(--text-dim); -} - /* 标签 */ .tag { display: inline-flex; @@ -387,8 +364,7 @@ tr.tr-hover.active td { /* ========== 状态文本 ========== */ .status-text { font-size: 12px; - display: flex; - align-items: center; + white-space: nowrap; } .status-text.ok {