优化ai对话的内容区域的样式
This commit is contained in:
@@ -504,7 +504,7 @@ export default function Chat() {
|
||||
const conversationIntroduction = currConversationInfo?.introduction || '';
|
||||
|
||||
return (
|
||||
<Layout style={{ height: '100%', minHeight: '100%' }}>
|
||||
<Layout style={{ height: '100%', minHeight: '100%'}}>
|
||||
{/* 侧边栏 */}
|
||||
<ChatSidebar
|
||||
ref={sidebarRef}
|
||||
|
||||
@@ -37,11 +37,10 @@ export default function ChatWithLLMIndex() {
|
||||
return (
|
||||
<div className="flex-1 chat-container" style={{
|
||||
height: 'calc(100vh - 80px)',
|
||||
// height: '100vh',
|
||||
borderRadius: '0.5rem',
|
||||
marginTop: '20px',
|
||||
marginBottom: '-20px',
|
||||
minHeight: '990px',
|
||||
maxHeight: '89vh'
|
||||
marginBottom: '-20px'
|
||||
}}>
|
||||
<Chat />
|
||||
</div>
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
|
||||
/* 聊天容器 - 自适应布局 */
|
||||
.chat-container {
|
||||
height: 100%;
|
||||
min-height: 100%;
|
||||
/* height: 100%; */
|
||||
/* min-height: 100%; */
|
||||
width: 100%;
|
||||
flex-direction: column;
|
||||
background: #fff;
|
||||
|
||||
Reference in New Issue
Block a user