Commit
·
66fe6a2
1
Parent(s):
5dd9c92
fix position issue
Browse filesfix position issue when in chat
app/components/chat/BaseChat.tsx
CHANGED
@@ -525,6 +525,7 @@ export const BaseChat = React.forwardRef<HTMLDivElement, BaseChatProps>(
|
|
525 |
onStop={stopListening}
|
526 |
disabled={isStreaming}
|
527 |
/>
|
|
|
528 |
<IconButton
|
529 |
title="Model Settings"
|
530 |
className={classNames('transition-all flex items-center gap-1', {
|
@@ -538,7 +539,6 @@ export const BaseChat = React.forwardRef<HTMLDivElement, BaseChatProps>(
|
|
538 |
<div className={`i-ph:caret-${isModelSettingsCollapsed ? 'right' : 'down'} text-lg`} />
|
539 |
{isModelSettingsCollapsed ? <span className="text-xs">{model}</span> : <span />}
|
540 |
</IconButton>
|
541 |
-
{chatStarted && <ClientOnly>{() => <ExportChatButton exportChat={exportChat} />}</ClientOnly>}
|
542 |
</div>
|
543 |
{input.length > 3 ? (
|
544 |
<div className="text-xs text-bolt-elements-textTertiary">
|
|
|
525 |
onStop={stopListening}
|
526 |
disabled={isStreaming}
|
527 |
/>
|
528 |
+
{chatStarted && <ClientOnly>{() => <ExportChatButton exportChat={exportChat} />}</ClientOnly>}
|
529 |
<IconButton
|
530 |
title="Model Settings"
|
531 |
className={classNames('transition-all flex items-center gap-1', {
|
|
|
539 |
<div className={`i-ph:caret-${isModelSettingsCollapsed ? 'right' : 'down'} text-lg`} />
|
540 |
{isModelSettingsCollapsed ? <span className="text-xs">{model}</span> : <span />}
|
541 |
</IconButton>
|
|
|
542 |
</div>
|
543 |
{input.length > 3 ? (
|
544 |
<div className="text-xs text-bolt-elements-textTertiary">
|