Skip to content

Commit 5986078

Browse files
committed
fix:解决输入框遮挡最后输入信息的问题
1 parent 9cdc120 commit 5986078

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/resources/chatPanel.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,3 +222,10 @@ html, body {
222222
overflow: hidden; /* 禁用最外层滚动 */
223223
}
224224

225+
#chat {
226+
height: calc(100vh - 180px); /* 调整高度 */
227+
overflow-y: auto;
228+
padding: 8px;
229+
padding-bottom: 10px; /* 防止遮挡 */
230+
box-sizing: border-box;
231+
}

0 commit comments

Comments
 (0)