From 06a63796e8f5bf1b91ff319c84675e4cdc6f3eac Mon Sep 17 00:00:00 2001 From: liuwei Date: Tue, 15 Apr 2025 09:09:04 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=A8=E6=88=B7=E4=BF=A1=E6=81=AF=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/dashboard/templates/index.html | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/admin/dashboard/templates/index.html b/admin/dashboard/templates/index.html index 3d55bab..c104b72 100644 --- a/admin/dashboard/templates/index.html +++ b/admin/dashboard/templates/index.html @@ -662,36 +662,36 @@ padding: 0; display: flex; flex-direction: column; - flex: 1; justify-content: center; - /* 确保与饼图容器高度一致 */ - height: 80px; + /* 调整高度与饼图完全一致 */ + height: 100px; } .user-avatar-container { text-align: center; - margin-bottom: 5px; /* 减小底部间距 */ + margin-bottom: 5px; } .user-avatar-container img { - width: 50px; /* 稍微缩小头像 */ - height: 50px; + width: 45px; /* 进一步缩小头像 */ + height: 45px; border-radius: 50%; - border: 2px solid #fff; - box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); + border: 1px solid #fff; /* 减小边框 */ + box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1); } .user-info-details { display: flex; flex-direction: column; - gap: 5px; + gap: 3px; /* 减小间距 */ } .user-info-item { display: flex; align-items: center; - font-size: 12px; + font-size: 11px; /* 进一步缩小字体 */ justify-content: center; + height: 16px; /* 固定每行高度 */ } .user-info-label {