From 7dd55b02c0763ffe360df0632b4f8ae6e4e156d7 Mon Sep 17 00:00:00 2001 From: gary-Shen Date: Wed, 30 Oct 2024 16:14:22 +0800 Subject: [PATCH] fix(frontend): update samples style --- apps/frontend/src/pages/tasks.[id]/index.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/frontend/src/pages/tasks.[id]/index.tsx b/apps/frontend/src/pages/tasks.[id]/index.tsx index 508d32692..9f850021d 100644 --- a/apps/frontend/src/pages/tasks.[id]/index.tsx +++ b/apps/frontend/src/pages/tasks.[id]/index.tsx @@ -246,7 +246,7 @@ const Samples = () => { title: '', dataIndex: 'option', key: 'option', - width: 100, + width: 140, align: 'center', fixed: 'right', render: (x, record) => { @@ -256,7 +256,7 @@ const Samples = () => { if (record.file?.filename?.endsWith('.jsonl')) { return ( -
+ @@ -265,12 +265,12 @@ const Samples = () => { 删除 -
+ ); } return ( - <> + {isTaskReadyToAnnotate && ( @@ -281,7 +281,7 @@ const Samples = () => { 删除 - + ); }, },