fix: skeleton loading for friend item

This commit is contained in:
pa
2025-11-19 18:14:33 +09:00
committed by Natsumi
parent 83e9470850
commit 243f5df597
+22 -21
View File
@@ -91,30 +91,31 @@
.skeleton { .skeleton {
height: 40px; height: 40px;
width: 100%; width: 100%;
:deep(.el-skeleton) { & > div {
height: 100%; height: 100%;
> div { display: flex;
align-items: center;
justify-content: space-between;
& > div {
width: calc(100% - 48px);
height: 100%; height: 100%;
display: flex; display: flex;
align-items: center; flex-direction: column;
> :first-child { justify-content: center;
margin-right: 8px; }
height: 40px; }
width: 40px; :deep(.el-skeleton__circle) {
} height: 40px;
> :last-child { width: 40px;
flex: 1; }
display: flex; :deep(.el-skeleton__text) {
flex-direction: column; &:first-child {
justify-content: center; height: 14px;
> :first-child { margin-bottom: 6px;
width: 50%; width: 50%;
margin-bottom: 4px; }
} &:last-child {
> :last-child { height: 12px;
width: 90%;
}
}
} }
} }
} }