From ae505e6165bfe0f2f3859ddd117b31110e889644 Mon Sep 17 00:00:00 2001 From: chanx <1243304602@qq.com> Date: Tue, 26 Aug 2025 10:46:54 +0800 Subject: [PATCH] Fix: Optimize table style #3221 (#9703) ### What problem does this PR solve? Fix: Optimize table style -Modify the style of the table scrollbar and remove unnecessary scrollbars -Adjust the header style of the table, add background color and hierarchy -Optimize the style of datasets and file tables -Add a new background color variable ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) --- web/src/components/ui/table.tsx | 8 +- web/src/locales/en.ts | 2 +- .../dataset/dataset/dataset-action-cell.tsx | 22 ++++- .../pages/dataset/dataset/dataset-table.tsx | 3 +- web/src/pages/files/action-cell.tsx | 41 ++++++-- web/src/pages/files/files-table.tsx | 96 ++++++++++--------- web/tailwind.config.js | 2 +- web/tailwind.css | 4 + 8 files changed, 113 insertions(+), 65 deletions(-) diff --git a/web/src/components/ui/table.tsx b/web/src/components/ui/table.tsx index 5dd87688a..04ad0a4c8 100644 --- a/web/src/components/ui/table.tsx +++ b/web/src/components/ui/table.tsx @@ -8,7 +8,7 @@ const Table = React.forwardRef< >(({ className, rootClassName, ...props }, ref) => (