调整卡片高度

This commit is contained in:
liuwei
2025-06-04 16:44:07 +08:00
parent 95adf590af
commit 2c03985228

View File

@@ -738,6 +738,7 @@
{% block styles %}
<style>
/* 基础卡片样式 */
.stats-card {
margin-bottom: 15px;
height: 120px;
@@ -776,17 +777,19 @@
border-radius: 50%;
overflow: hidden;
box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
display: flex;
align-items: center;
justify-content: center;
position: relative;
}
.user-avatar-container img {
width: 100% !important;
height: 100% !important;
object-fit: cover;
transform: scale(0.8);
transform-origin: center;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%) scale(0.8);
width: auto !important;
height: auto !important;
max-width: 100%;
max-height: 100%;
object-fit: contain;
}
.user-info-column {