Skip to content

Commit

Permalink
add some space below the conversation (like chatGPT) (#2038)
Browse files Browse the repository at this point in the history
  • Loading branch information
fontanierh authored Oct 10, 2023
1 parent 54f3b0e commit 923e83b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions front/components/assistant/conversation/InputBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ function AgentListImpl(
leaveTo="transform opacity-0 scale-100 translate-y-0"
>
<div
className="fixed z-10 max-h-96 overflow-y-auto rounded-xl border border-structure-100 bg-white shadow-xl"
className="fixed z-10 max-h-64 overflow-y-auto rounded-xl border border-structure-100 bg-white shadow-xl"
style={{
bottom: position.bottom,
left: position.left,
Expand Down Expand Up @@ -404,7 +404,7 @@ export function AssistantInputBar({
contentEditableClasses,
"scrollbar-hide",
"overflow-y-auto",
"max-h-96"
"max-h-64"
)}
contentEditable={true}
ref={inputRef}
Expand Down
1 change: 1 addition & 0 deletions front/pages/w/[wId]/assistant/[cId]/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ export default function AssistantConversation({
conversationId={conversationId}
onStickyMentionsChange={setStickyMentions}
/>
<div className="h-48" />
<FixedAssistantInputBar
owner={owner}
onSubmit={handleSubmit}
Expand Down

0 comments on commit 923e83b

Please sign in to comment.