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