fix(widgets): align user card presentation

This commit is contained in:
kate522 committed 2026-08-14 21:41:12 +08:00
1 parent d1d33e2671
commit 483313e396
2 files changed
+4 -31

No files matched your search

+3 -24
View File
@@ -38,9 +38,9 @@
position: relative;
box-sizing: border-box;
width: 100%;
height: 104px;
min-height: 104px;
max-height: 104px;
height: 139px;
min-height: 139px;
max-height: 139px;
margin: 0;
padding: 0 !important;
overflow: hidden;
@@ -122,27 +122,6 @@
height: 100%;
object-fit: cover;
}
.aksrt-user-card__avatar-wrap > .aksrt-vip-badge {
position: absolute;
right: -5px;
bottom: -3px;
z-index: 2;
display: inline-flex;
align-items: center;
justify-content: center;
width: 28px;
height: 28px;
max-width: none;
padding: 0;
line-height: 1;
}
.aksrt-user-card__avatar-wrap > .aksrt-vip-badge .aksrt-vip-badge__icon {
display: block;
width: 100%;
height: 100%;
max-width: 100%;
object-fit: contain;
}
.aksrt-user-card__name {
display: flex;
align-items: center;