From ce01240c98234ee8cc991ef11d88cb2f37f6bec7 Mon Sep 17 00:00:00 2001 From: liuwei Date: Wed, 4 Jun 2025 16:49:14 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=8D=A1=E7=89=87=E9=AB=98?= =?UTF-8?q?=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/dashboard/templates/index.html | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/admin/dashboard/templates/index.html b/admin/dashboard/templates/index.html index ffbbafc..d048ce2 100644 --- a/admin/dashboard/templates/index.html +++ b/admin/dashboard/templates/index.html @@ -17,7 +17,7 @@
- 用户头像 + 用户头像
@@ -777,18 +777,14 @@ border-radius: 50%; overflow: hidden; box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1); - position: relative; + display: flex; + align-items: center; + justify-content: center; } .user-avatar-container img { - position: absolute; - top: 50%; - left: 50%; - transform: translate(-50%, -50%) scale(0.8); - width: 30px !important; - height: 30px !important; - max-width: 100%; - max-height: 100%; + width: 15px !important; + height: 15px !important; object-fit: contain; }