From c10f519096e9dc861866b6fd6852a0ffae4a595b Mon Sep 17 00:00:00 2001 From: Baobhan Sith <80159437+Heavrnl@users.noreply.github.com> Date: Mon, 21 Apr 2025 20:52:50 +0800 Subject: [PATCH] update --- packages/frontend/src/components/FileManager.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/frontend/src/components/FileManager.vue b/packages/frontend/src/components/FileManager.vue index d0bb9da..7c0e0f8 100644 --- a/packages/frontend/src/components/FileManager.vue +++ b/packages/frontend/src/components/FileManager.vue @@ -964,7 +964,7 @@ const handleWheel = (event: WheelEvent) => { flex-shrink: 0; /* 防止被压缩 */ } .actions-bar button { - padding: 0.4rem 0.8rem; /* 调整按钮内边距 */ + padding: 0.4rem 0.9rem; /* 调整按钮内边距 */ cursor: pointer; border: 1px solid var(--border-color); /* 添加边框 */ border-radius: 4px; @@ -1072,7 +1072,7 @@ const handleWheel = (event: WheelEvent) => { overflow-y: auto; position: relative; /* Needed for overlay */ /* 定义基础变量 */ - --base-font-size: 0.9rem; + --base-font-size: 0.8rem; /* --- 减小基础字体大小 --- */ --base-padding-vertical: 0.4rem; /* 减小基础垂直 padding */ --base-padding-horizontal: 0.8rem; --base-icon-size: 1.1em; /* 相对于 base-font-size */ @@ -1127,6 +1127,8 @@ th, td { /* transition: font-size 0.1s ease, padding 0.1s ease; */ } th { + padding-top: 0.2rem; /* --- 减小表头顶部内边距 --- */ + padding-bottom: 0.2rem; /* --- 减小表头底部内边距 --- */ position: relative; font-weight: 500; /* Slightly lighter header weight */ color: var(--text-color-secondary); /* Use secondary color for header text */