From f02bcee646af7c0b8a933e3b4f902d214ad1c868 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=96=BB=E5=8B=87=E7=A5=A5?= <237899745@qq.com> Date: Fri, 14 Nov 2025 20:30:22 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=BD=BB=E5=BA=95=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E6=89=80=E6=9C=89=E8=A1=A8=E6=A0=BC=E5=92=8C=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E7=9A=84=E6=96=87=E5=AD=97=E6=BA=A2=E5=87=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 关键修复: 1. 所有表格添加 table-layout: fixed 2. 表格列头添加明确的宽度百分比控制 3. 文件列表 - 修复 display: flex 导致的溢出 - 将 flex 从 td 移到内部 div - 文件名使用 flex: 1 + min-width: 0 - 所有图标添加 flex-shrink: 0 4. 分享列表 - 移除 max-width,使用列头宽度控制 5. 用户列表 - 移除 max-width,使用列头宽度控制 所有表格现在都能正确处理长文本,不会溢出容器 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- frontend/app.html | 86 +++++++++++++++++++++++++---------------------- 1 file changed, 45 insertions(+), 41 deletions(-) diff --git a/frontend/app.html b/frontend/app.html index cb5cec3..16cae41 100644 --- a/frontend/app.html +++ b/frontend/app.html @@ -748,7 +748,7 @@
- +
@@ -765,7 +765,8 @@ @touchend="handleLongPressEnd" @mouseover="$event.currentTarget.style.background='#f9f9f9'" @mouseout="$event.currentTarget.style.background='white'"> - @@ -1155,21 +1157,21 @@ -
文件名 + +
- + - - - - - - - {{ file.name }} + + + + + + + {{ file.name }} +
{{ file.isDirectory ? '-' : file.sizeFormatted }} {{ formatDate(file.modifiedTime) }}
+
- - - - - - + + + + + + - - + @@ -1314,23 +1316,23 @@

用户管理

-
文件路径分享链接访问次数下载次数到期时间操作文件路径分享链接访问次数下载次数到期时间操作
{{ share.share_path }} + {{ share.share_path }} {{ share.share_url }} {{ share.view_count }}
+
- - - - - - - - + + + + + + + + - - +
ID用户名邮箱存储权限当前存储配额使用状态操作ID用户名邮箱存储权限当前存储配额使用状态操作
{{ u.id }} +
{{ u.username }} @@ -1338,7 +1340,7 @@
{{ u.email }}{{ u.email }} 仅本地 仅SFTP @@ -1396,7 +1398,7 @@
暂无待审核的密码重置请求
- +
@@ -1582,7 +1584,7 @@
-
用户名
+
@@ -1596,17 +1598,19 @@ @dblclick="handleInspectionFileClick(file)" @mouseover="$event.currentTarget.style.background='#f9f9f9'" @mouseout="$event.currentTarget.style.background='white'"> -
文件名 - + +
+ - - - - - - - {{ file.name }} + + + + + + + {{ file.name }} +
{{ file.isDirectory ? '-' : file.sizeFormatted }} {{ formatDate(file.modifiedAt) }}