feat: 消息列表的调整

This commit is contained in:
2025-07-27 18:01:38 +08:00
parent a796d06631
commit 48bc37701c
2 changed files with 13 additions and 15 deletions

View File

@@ -23,6 +23,8 @@
height: 100vh;
display: flex;
flex-direction: column;
flex: 1;
min-height: 0;
z-index: 1;
overflow: hidden;
@@ -39,6 +41,7 @@
flex: 1;
overflow-y: auto;
min-height: 0;
height: 0;
padding: 4px 0 0;
overscroll-behavior: contain; /* 阻止滚动穿透 */
-webkit-overflow-scrolling: touch;
@@ -71,11 +74,6 @@
}
}
.lastMsgId {
}
.footer-area {
width: 100vw;
flex-shrink: 0;
@@ -84,6 +82,8 @@
touch-action: pan-x; /* 仅允许横向触摸滚动 */
overflow-x: auto; /* 允许横向滚动 */
overflow-y: hidden; /* 禁止垂直滚动 */
/* 确保高度能够正确计算 */
min-height: fit-content;
}
.area-input {