mirror of
https://github.com/stackblitz-labs/bolt.diy
synced 2025-01-23 11:17:02 +00:00
fix position issue
fix position issue when in chat
This commit is contained in:
parent
5dd9c926c8
commit
66fe6a2efc
@ -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">
|
||||||
|
Loading…
Reference in New Issue
Block a user