调整卡片高度
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user