|
@@ -35,7 +35,7 @@
|
|
width: 40px; /* 头像的尺寸 */
|
|
width: 40px; /* 头像的尺寸 */
|
|
height: 40px;
|
|
height: 40px;
|
|
border-radius: 50%; /* 圆形头像 */
|
|
border-radius: 50%; /* 圆形头像 */
|
|
- background-color: #e9e0e0; /* 暂时用灰色代替,你可以用图片替换 */
|
|
|
|
|
|
+ /*background-color: #e9e0e0; 暂时用灰色代替,你可以用图片替换 */
|
|
align-self: start; /* 这将覆盖 flex 容器的 align-items 并将头像对齐到顶部 */
|
|
align-self: start; /* 这将覆盖 flex 容器的 align-items 并将头像对齐到顶部 */
|
|
margin-right: 10px; /* 按需调整以在头像和消息之间提供空间 */
|
|
margin-right: 10px; /* 按需调整以在头像和消息之间提供空间 */
|
|
}
|
|
}
|