From 23149a76c054d0f6c8fa34c81faf2b435be8a04f Mon Sep 17 00:00:00 2001 From: lkddi Date: Fri, 27 Feb 2026 00:28:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=EF=BC=9A=E5=B7=A5=E5=85=B7?= =?UTF-8?q?=E6=9D=A1=E6=8C=89=E9=92=AE=E5=B9=B3=E5=9D=87=E5=88=86=E5=B8=83?= =?UTF-8?q?=E9=93=BA=E6=BB=A1=E6=95=B4=E4=B8=AA=E9=AB=98=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 移除固定 padding 和 justify-content: flex-start - 按钮加 flex:1 自动均分高度,视觉效果更整洁 --- public/css/chat.css | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/public/css/chat.css b/public/css/chat.css index 03b8eef..eb8ef54 100644 --- a/public/css/chat.css +++ b/public/css/chat.css @@ -91,11 +91,9 @@ a:hover { display: flex; flex-direction: column; align-items: center; - justify-content: flex-start; - padding: 40px 0 2px 0; + padding: 0; border-left: 1px solid var(--border-blue); border-right: 1px solid var(--border-blue); - overflow-y: auto; flex-shrink: 0; } @@ -109,6 +107,7 @@ a:hover { text-align: center; transition: all 0.15s; width: 100%; + flex: 1; display: flex; align-items: center; justify-content: center; @@ -626,4 +625,4 @@ a:hover { .avatar-option.selected { border-color: #336699; box-shadow: 0 0 6px rgba(51, 102, 153, 0.5); -} +} \ No newline at end of file