|
@@ -49,7 +49,7 @@
|
|
|
flex-direction: column;
|
|
|
|
|
|
align-items: flex-start; /* 这将确保所有子元素对齐到容器的顶部 */
|
|
|
- margin-bottom: 10px;
|
|
|
+ /* margin-bottom: 10px; */
|
|
|
}
|
|
|
|
|
|
.avatar {
|
|
@@ -95,7 +95,7 @@
|
|
|
}
|
|
|
.name{
|
|
|
margin-left: 8px;
|
|
|
- margin-bottom: 5px;
|
|
|
+ /* margin-bottom: 5px; */
|
|
|
}
|
|
|
|
|
|
.message-content {
|
|
@@ -106,7 +106,7 @@
|
|
|
padding-bottom: 0px; /* 上下左右的内边距 */
|
|
|
max-width: calc(90% - 10px); /* 计算头像和间距 */
|
|
|
border-radius: 7px; /* 边框圆角 */
|
|
|
- margin-bottom: 10px; /* 和下一条消息之间的间距 */
|
|
|
+ /* margin-bottom: 10px; 和下一条消息之间的间距 */
|
|
|
/* 消息内容样式 */
|
|
|
display: flex;
|
|
|
flex-direction: column; /* 排列文本 */
|