Skip to content

Commit 42f604c

Browse files
Replace stop button text with square icon
1 parent a00db28 commit 42f604c

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎frontend/src/components/message/PromptInput.tsx‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { useModelSelection } from '@/hooks/useModelSelection'
99
import { useUserBash } from '@/stores/userBashStore'
1010
import { useMobile } from '@/hooks/useMobile'
1111
import { useSessionStatusForSession } from '@/stores/sessionStatusStore'
12-
import { ChevronDown } from 'lucide-react'
12+
import { ChevronDown, Square } from 'lucide-react'
1313

1414
import { CommandSuggestions } from '@/components/command/CommandSuggestions'
1515
import { MentionSuggestions, type MentionItem } from './MentionSuggestions'
@@ -488,7 +488,7 @@ export function PromptInput({
488488
return (
489489
<div className="relative backdrop-blur-md bg-background opacity-95 border border-border rounded-xl p-2 md:p-3 mx-2 md:mx-4 mb-2 md:mb-5 w-[90%] md:max-w-4xl">
490490
{hasActiveStream && (
491-
<div className="mb-2">
491+
<div className="">
492492
<SessionStatusIndicator sessionID={sessionID} />
493493
</div>
494494
)}
@@ -573,10 +573,10 @@ export function PromptInput({
573573
<button
574574
onClick={handleStop}
575575
disabled={disabled}
576-
className="px-3 md:px-4 py-1.5 rounded-lg text-sm font-medium transition-colors bg-destructive hover:bg-destructive/90 text-destructive-foreground"
576+
className="p-1.5 px-4 md:p-2 rounded-lg transition-colors bg-destructive hover:bg-destructive/90 text-destructive-foreground"
577577
title="Stop"
578578
>
579-
Stop
579+
<Square className="w-4 h-4" />
580580
</button>
581581
)}
582582
<button

0 commit comments

Comments
 (0)