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; }