fix: prompts list height (#340)
This commit is contained in:
1 parent
aefec17525
commit
3650d8d7bf
2 files changed
+2
-2
No files matched your search
@@ -289,7 +289,7 @@ export const ChatInput: FC<Props> = ({
|
|||||||
<IconSend size={18} />
|
<IconSend size={18} />
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
{showPromptList && prompts.length > 0 && (
|
{showPromptList && filteredPrompts.length > 0 && (
|
||||||
<div className="absolute bottom-12 w-full">
|
<div className="absolute bottom-12 w-full">
|
||||||
<PromptList
|
<PromptList
|
||||||
activePromptIndex={activePromptIndex}
|
activePromptIndex={activePromptIndex}
|
||||||
|
|||||||
@@ -215,7 +215,7 @@ export const SystemPrompt: FC<Props> = ({
|
|||||||
onKeyDown={handleKeyDown}
|
onKeyDown={handleKeyDown}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
{showPromptList && prompts.length > 0 && (
|
{showPromptList && filteredPrompts.length > 0 && (
|
||||||
<div>
|
<div>
|
||||||
<PromptList
|
<PromptList
|
||||||
activePromptIndex={activePromptIndex}
|
activePromptIndex={activePromptIndex}
|
||||||
|
|||||||
Reference in new issue
Block a user