mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-01-02 18:39:05 +01:00
Fix Wave AI styling again (#1164)
This commit is contained in:
parent
ee348d9fad
commit
96cc2adc91
@ -8,18 +8,17 @@
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
|
.waveai-chat {
|
||||||
|
flex-grow: 1;
|
||||||
> .scrollable {
|
> .scrollable {
|
||||||
flex-flow: column nowrap;
|
flex-flow: column nowrap;
|
||||||
flex-grow: 1;
|
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
min-height: 100%;
|
min-height: 100%;
|
||||||
|
|
||||||
.chat-window {
|
.chat-window {
|
||||||
display: flex;
|
display: flex;
|
||||||
// margin-bottom: 5px;
|
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
min-height: 100%;
|
|
||||||
gap: 8px;
|
gap: 8px;
|
||||||
|
|
||||||
// This is the filler that will push the chat messages to the bottom until the chat window is full
|
// This is the filler that will push the chat messages to the bottom until the chat window is full
|
||||||
@ -103,6 +102,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.waveai-controls {
|
.waveai-controls {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
@ -722,7 +722,9 @@ const WaveAi = ({ model }: { model: WaveAiModel; blockId: string }) => {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div ref={waveaiRef} className="waveai">
|
<div ref={waveaiRef} className="waveai">
|
||||||
|
<div className="waveai-chat">
|
||||||
<ChatWindow ref={osRef} chatWindowRef={chatWindowRef} messages={messages} msgWidths={msgWidths} />
|
<ChatWindow ref={osRef} chatWindowRef={chatWindowRef} messages={messages} msgWidths={msgWidths} />
|
||||||
|
</div>
|
||||||
<div className="waveai-controls">
|
<div className="waveai-controls">
|
||||||
<div className="waveai-input-wrapper">
|
<div className="waveai-input-wrapper">
|
||||||
<ChatInput
|
<ChatInput
|
||||||
|
Loading…
Reference in New Issue
Block a user