mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-07-21 21:31:12 +02:00
remove chat scroll button
This commit is contained in:
parent
ac305bd62a
commit
752c537892
2 changed files with 2 additions and 6 deletions
|
|
@ -20,7 +20,6 @@ import {
|
||||||
Conversation,
|
Conversation,
|
||||||
ConversationContent,
|
ConversationContent,
|
||||||
ConversationEmptyState,
|
ConversationEmptyState,
|
||||||
ConversationScrollButton,
|
|
||||||
} from '@/components/ai-elements/conversation';
|
} from '@/components/ai-elements/conversation';
|
||||||
import {
|
import {
|
||||||
Message,
|
Message,
|
||||||
|
|
@ -1371,7 +1370,6 @@ function App() {
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
</ConversationContent>
|
</ConversationContent>
|
||||||
<ConversationScrollButton className="bottom-24" />
|
|
||||||
</Conversation>
|
</Conversation>
|
||||||
|
|
||||||
<div className="sticky bottom-0 z-10 bg-background pb-12 pt-0 shadow-lg">
|
<div className="sticky bottom-0 z-10 bg-background pb-12 pt-0 shadow-lg">
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,6 @@ import {
|
||||||
Conversation,
|
Conversation,
|
||||||
ConversationContent,
|
ConversationContent,
|
||||||
ConversationEmptyState,
|
ConversationEmptyState,
|
||||||
ConversationScrollButton,
|
|
||||||
} from '@/components/ai-elements/conversation'
|
} from '@/components/ai-elements/conversation'
|
||||||
import {
|
import {
|
||||||
Message,
|
Message,
|
||||||
|
|
@ -493,7 +492,6 @@ export function ChatSidebar({
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
</ConversationContent>
|
</ConversationContent>
|
||||||
<ConversationScrollButton className="bottom-24" />
|
|
||||||
</Conversation>
|
</Conversation>
|
||||||
|
|
||||||
{/* Input area - responsive to sidebar width, matches floating bar position exactly */}
|
{/* Input area - responsive to sidebar width, matches floating bar position exactly */}
|
||||||
|
|
@ -504,7 +502,7 @@ export function ChatSidebar({
|
||||||
<div
|
<div
|
||||||
ref={highlightRef}
|
ref={highlightRef}
|
||||||
aria-hidden="true"
|
aria-hidden="true"
|
||||||
className="pointer-events-none absolute inset-0 z-0 overflow-hidden whitespace-pre-wrap break-words text-sm text-transparent"
|
className="pointer-events-none absolute inset-0 z-0 overflow-hidden whitespace-pre-wrap wrap-break-word text-sm text-transparent"
|
||||||
>
|
>
|
||||||
{mentionHighlights.segments.map((segment, index) =>
|
{mentionHighlights.segments.map((segment, index) =>
|
||||||
segment.highlighted ? (
|
segment.highlighted ? (
|
||||||
|
|
@ -529,7 +527,7 @@ export function ChatSidebar({
|
||||||
placeholder="Ask anything..."
|
placeholder="Ask anything..."
|
||||||
disabled={isProcessing}
|
disabled={isProcessing}
|
||||||
rows={1}
|
rows={1}
|
||||||
className="relative z-10 w-full bg-transparent text-sm outline-none placeholder:text-muted-foreground disabled:opacity-50 resize-none max-h-32 min-h-[1.5rem]"
|
className="relative z-10 w-full bg-transparent text-sm outline-none placeholder:text-muted-foreground disabled:opacity-50 resize-none max-h-32 min-h-6"
|
||||||
style={{ fieldSizing: 'content' } as React.CSSProperties}
|
style={{ fieldSizing: 'content' } as React.CSSProperties}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue