fix position issue

fix position issue when in chat
This commit is contained in:
Dustin Loring 2024-12-07 16:22:11 -05:00
parent 5dd9c926c8
commit 66fe6a2efc

View File

@ -525,6 +525,7 @@ export const BaseChat = React.forwardRef<HTMLDivElement, BaseChatProps>(
onStop={stopListening} onStop={stopListening}
disabled={isStreaming} disabled={isStreaming}
/> />
{chatStarted && <ClientOnly>{() => <ExportChatButton exportChat={exportChat} />}</ClientOnly>}
<IconButton <IconButton
title="Model Settings" title="Model Settings"
className={classNames('transition-all flex items-center gap-1', { className={classNames('transition-all flex items-center gap-1', {
@ -538,7 +539,6 @@ export const BaseChat = React.forwardRef<HTMLDivElement, BaseChatProps>(
<div className={`i-ph:caret-${isModelSettingsCollapsed ? 'right' : 'down'} text-lg`} /> <div className={`i-ph:caret-${isModelSettingsCollapsed ? 'right' : 'down'} text-lg`} />
{isModelSettingsCollapsed ? <span className="text-xs">{model}</span> : <span />} {isModelSettingsCollapsed ? <span className="text-xs">{model}</span> : <span />}
</IconButton> </IconButton>
{chatStarted && <ClientOnly>{() => <ExportChatButton exportChat={exportChat} />}</ClientOnly>}
</div> </div>
{input.length > 3 ? ( {input.length > 3 ? (
<div className="text-xs text-bolt-elements-textTertiary"> <div className="text-xs text-bolt-elements-textTertiary">