From 9c1246e2c95a137198b73fde98a0429940b6d04e Mon Sep 17 00:00:00 2001 From: duxingchen Date: Tue, 1 Sep 2026 14:44:18 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E7=BD=91=E9=A1=B5=E7=AB=AF=E6=93=8D?= =?UTF-8?q?=E4=BD=9C=E6=97=A5=E5=BF=97=E6=9D=A1=E9=93=BA=E6=BB=A1=E5=8D=A1?= =?UTF-8?q?=E7=89=87=E5=AE=BD=E5=BA=A6=E5=B9=B6=E5=8A=A0=E5=8F=AF=E7=82=B9?= =?UTF-8?q?=E5=87=BB=E7=AE=AD=E5=A4=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 负 margin 精确抵消 padding+border,蓝条真正贯穿卡片宽度 - 日志文字加粗 + 末尾蓝色 › 箭头提示可点击 --- frontend/src/components/TaskTree/TaskFlowView.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/components/TaskTree/TaskFlowView.tsx b/frontend/src/components/TaskTree/TaskFlowView.tsx index ac9d3e4..5bf5b89 100644 --- a/frontend/src/components/TaskTree/TaskFlowView.tsx +++ b/frontend/src/components/TaskTree/TaskFlowView.tsx @@ -150,13 +150,13 @@ const SlimCard = memo(function SlimCard({ )} - {/* 操作日志:全行蓝色横条,整条可点击 */} + {/* 操作日志:全行蓝色横条,铺满卡片宽度(含 padding+border),整条可点击 */} {task.records && task.records.length > 0 && (
{ e.stopPropagation(); onViewRecords?.(task); }} - className={`${size === "lg" ? "-mx-4 -mb-4" : "-mx-2.5 -mb-2.5"} mt-3 py-1.5 w-full bg-blue-50 text-blue-600 text-center text-sm cursor-pointer hover:bg-blue-100 border-t border-blue-100 rounded-b-md transition-colors`} + className={`${size === "lg" ? "-mx-[17px] -mb-[17px]" : "-mx-[11px] -mb-[11px]"} mt-3 py-1.5 bg-blue-50 text-blue-600 text-center text-sm font-medium cursor-pointer transition-colors hover:bg-blue-100 border-t border-blue-100 rounded-b-lg`} > - 查看操作日志 ({task.records.length}条) + 查看操作日志 ({task.records.length}条)
)}