From 6bc6edfd37c1fefd09dfc9f08b0b84d8ed6501cb Mon Sep 17 00:00:00 2001 From: wood chen Date: Mon, 17 Feb 2025 19:03:02 +0800 Subject: [PATCH] refactor(config): Optimize configuration table layout and styling - Adjust table column widths for better proportional display - Reduce padding and font sizes in extension mapping section - Enhance visual hierarchy with subtle background and border adjustments - Maintain existing functionality while improving UI compactness --- web/app/dashboard/config/page.tsx | 34 +++++++++++++++---------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/web/app/dashboard/config/page.tsx b/web/app/dashboard/config/page.tsx index 3f99fde..82b865e 100644 --- a/web/app/dashboard/config/page.tsx +++ b/web/app/dashboard/config/page.tsx @@ -896,12 +896,12 @@ export default function ConfigPage() { - 路径 - 默认目标 - 最小阈值 - 最大阈值 - 扩展名映射 - 操作 + 路径 + 默认目标 + 最小阈值 + 最大阈值 + 扩展名映射 + 操作 @@ -957,25 +957,25 @@ export default function ConfigPage() { {typeof target === 'object' && target.ExtensionMap && Object.keys(target.ExtensionMap).length > 0 && ( - -
+ +
- - 扩展名 - 目标地址 - 操作 + + 扩展名 + 目标地址 + 操作 {Object.entries(target.ExtensionMap).map(([ext, url]) => ( - - {ext} - + + {ext} + {truncateUrl(url)} - -
+ +