From 67542139350662be4e6f5f4b9905641b124c9938 Mon Sep 17 00:00:00 2001 From: shuaiplus <2327005759@qq.com> Date: Sat, 31 May 2025 14:19:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=8B=E6=9C=BA=E9=80=82=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/css/style.css | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/client/css/style.css b/client/css/style.css index 975952e..f538e32 100644 --- a/client/css/style.css +++ b/client/css/style.css @@ -1573,17 +1573,26 @@ body { .file-main-content { padding: 8px 12px; gap: 8px; - flex-direction: column; - align-items: stretch; + /* 保持水平布局,不改为垂直 */ + display: flex; + align-items: center; } .file-info { - margin-bottom: 8px; + flex: 1; + min-width: 0; } - .file-download-btn { - width: 36px; - height: 36px; - align-self: flex-end; + + .file-download-btn { + width: 32px; + height: 32px; + padding: 6px; + flex-shrink: 0; + } + + .file-download-btn svg { + width: 16px; + height: 16px; } }