Skip to content

Commit f0efcd9

Browse files
committed
ui nitpick
1 parent 198f37c commit f0efcd9

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

frontend/src/components/thread/chat-input/chat-input.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -464,10 +464,10 @@ export const ChatInput = forwardRef<ChatInputHandles, ChatInputProps>(
464464
{enableAdvancedConfig && selectedAgentId && (
465465
<div className="w-full border-t border-border/30 bg-muted/20 px-4 py-1.5 rounded-b-3xl border-l border-r border-b border-border">
466466
<div className="flex items-center justify-between">
467-
<div className="flex items-center gap-1 sm:gap-2 overflow-x-auto scrollbar-none">
467+
<div className="flex items-center gap-1 overflow-x-auto scrollbar-none">
468468
<button
469469
onClick={() => setRegistryDialogOpen(true)}
470-
className="flex items-center gap-1.5 text-muted-foreground hover:text-foreground transition-all duration-200 px-2.5 py-1.5 rounded-md hover:bg-muted/50 border border-transparent hover:border-border/30 flex-shrink-0"
470+
className="flex items-center gap-1.5 text-muted-foreground hover:text-foreground transition-all duration-200 px-2.5 py-1.5 rounded-xl hover:bg-muted/50 border border-transparent hover:border-border/30 flex-shrink-0"
471471
>
472472
<div className="flex items-center -space-x-0.5">
473473
<div className="w-5 h-5 bg-white dark:bg-muted border border-border rounded-full flex items-center justify-center shadow-sm">
@@ -487,7 +487,7 @@ export const ChatInput = forwardRef<ChatInputHandles, ChatInputProps>(
487487

488488
<button
489489
onClick={() => router.push(`/agents/config/${selectedAgentId}?tab=configuration&accordion=instructions`)}
490-
className="flex items-center gap-1.5 text-muted-foreground hover:text-foreground transition-all duration-200 px-2.5 py-1.5 rounded-md hover:bg-muted/50 border border-transparent hover:border-border/30 flex-shrink-0"
490+
className="flex items-center gap-1.5 text-muted-foreground hover:text-foreground transition-all duration-200 px-2.5 py-1.5 rounded-xl hover:bg-muted/50 border border-transparent hover:border-border/30 flex-shrink-0"
491491
>
492492
<Brain className="h-3.5 w-3.5 flex-shrink-0" />
493493
<span className="text-xs font-medium">Instructions</span>
@@ -497,7 +497,7 @@ export const ChatInput = forwardRef<ChatInputHandles, ChatInputProps>(
497497

498498
<button
499499
onClick={() => router.push(`/agents/config/${selectedAgentId}?tab=configuration&accordion=knowledge`)}
500-
className="flex items-center gap-1.5 text-muted-foreground hover:text-foreground transition-all duration-200 px-2.5 py-1.5 rounded-md hover:bg-muted/50 border border-transparent hover:border-border/30 flex-shrink-0"
500+
className="flex items-center gap-1.5 text-muted-foreground hover:text-foreground transition-all duration-200 px-2.5 py-1.5 rounded-xl hover:bg-muted/50 border border-transparent hover:border-border/30 flex-shrink-0"
501501
>
502502
<Database className="h-3.5 w-3.5 flex-shrink-0" />
503503
<span className="text-xs font-medium">Knowledge</span>
@@ -507,7 +507,7 @@ export const ChatInput = forwardRef<ChatInputHandles, ChatInputProps>(
507507

508508
<button
509509
onClick={() => router.push(`/agents/config/${selectedAgentId}?tab=configuration&accordion=triggers`)}
510-
className="flex items-center gap-1.5 text-muted-foreground hover:text-foreground transition-all duration-200 px-2.5 py-1.5 rounded-md hover:bg-muted/50 border border-transparent hover:border-border/30 flex-shrink-0"
510+
className="flex items-center gap-1.5 text-muted-foreground hover:text-foreground transition-all duration-200 px-2.5 py-1.5 rounded-xl hover:bg-muted/50 border border-transparent hover:border-border/30 flex-shrink-0"
511511
>
512512
<Zap className="h-3.5 w-3.5 flex-shrink-0" />
513513
<span className="text-xs font-medium">Triggers</span>
@@ -517,7 +517,7 @@ export const ChatInput = forwardRef<ChatInputHandles, ChatInputProps>(
517517

518518
<button
519519
onClick={() => router.push(`/agents/config/${selectedAgentId}?tab=configuration&accordion=workflows`)}
520-
className="flex items-center gap-1.5 text-muted-foreground hover:text-foreground transition-all duration-200 px-2.5 py-1.5 rounded-md hover:bg-muted/50 border border-transparent hover:border-border/30 flex-shrink-0"
520+
className="flex items-center gap-1.5 text-muted-foreground hover:text-foreground transition-all duration-200 px-2.5 py-1.5 rounded-xl hover:bg-muted/50 border border-transparent hover:border-border/30 flex-shrink-0"
521521
>
522522
<Workflow className="h-3.5 w-3.5 flex-shrink-0" />
523523
<span className="text-xs font-medium">Workflows</span>

0 commit comments

Comments
 (0)