feat: 移动端兼容优化

This commit is contained in:
Gsh
2026-01-03 23:46:31 +08:00
parent f8f2d7568c
commit accbaf3ecb
5 changed files with 87 additions and 4 deletions

View File

@@ -31,7 +31,6 @@ const sessionId = computed(() => route.params?.id);
display: flex;
width: 100%;
height: calc(100vh - var(--header-container-default-height));
overflow: hidden;
}
@@ -41,4 +40,18 @@ const sessionId = computed(() => route.params?.id);
flex-direction: column;
overflow: hidden;
}
/* 移动端优化 */
@media (max-width: 768px) {
.conversation-page {
position: relative;
overflow: hidden;
}
.chat-content {
width: 100%;
overflow-y: auto;
overflow-x: hidden;
}
}
</style>