Skip to content

graff — a fast agentic coding harness in Zig: multi-provider, MCP, workflows, DGM evolution loop, TS/Python SDKs

Python

Inset the composer so the send control stays a circle.

justrach575357155a0e
diff --git a/gui/src/components/PromptControlBar.tsx b/gui/src/components/PromptControlBar.tsx
index 13b8f496..86f27742 100644
--- a/gui/src/components/PromptControlBar.tsx
+++ b/gui/src/components/PromptControlBar.tsx
@@ -3,7 +3,6 @@ import {
ChevronDownIcon,
MapIcon,
SparklesIcon,
- SquareIcon,
ZapIcon,
} from "lucide-react";
@@ -83,7 +82,7 @@ export function PromptControlBar({
breaking its shared borders — it scrolls instead. Without the min-w-0
the w-fit group refuses to shrink and pushes Send outside the card,
where a narrow window clips it with no way to scroll to it. */}
- <div className="-mb-1.5 min-w-0 flex-1 overflow-x-auto [-ms-overflow-style:none] [scrollbar-width:none] [&::-webkit-scrollbar]:hidden">
+ <div className="min-w-0 flex-1 overflow-x-auto [-ms-overflow-style:none] [scrollbar-width:none] [&::-webkit-scrollbar]:hidden">
<ButtonGroup aria-label="Prompt controls">
<DropdownMenu
open={isModelMenuOpen}
@@ -282,7 +281,13 @@ export function PromptControlBar({
onClick={onPrimaryAction}
disabled={isWorking ? false : isSubmitDisabled}
>
- {isWorking && isSubmitDisabled ? <SquareIcon /> : <ArrowUpIcon />}
+ {isWorking && isSubmitDisabled ? (
+ <svg width="10" height="10" viewBox="0 0 24 24" fill="currentColor" aria-hidden>
+ <rect x="5" y="5" width="14" height="14" rx="3" />
+ </svg>
+ ) : (
+ <ArrowUpIcon />
+ )}
</Button>
</CardFooter>
);
diff --git a/gui/src/components/PromptInputCard.tsx b/gui/src/components/PromptInputCard.tsx
index c8e307f7..24703ad8 100644
--- a/gui/src/components/PromptInputCard.tsx
+++ b/gui/src/components/PromptInputCard.tsx
@@ -360,7 +360,7 @@ export function PromptInputCard({
) : null}
<Card
className={cn(
- "relative gap-0 rounded-[32px] border border-foreground/5 bg-background/50 p-2 transition-colors transition-shadow ring-0",
+ "relative gap-0 rounded-[32px] border border-foreground/5 bg-background/50 p-3 transition-colors transition-shadow ring-0",
isPlanningMode &&
"border-[color:var(--accent)] ring-5 ring-[color:color-mix(in_oklab,var(--accent)_14%,transparent)] border-dashed",
isUltraMode && "cg-ultra-shine border-transparent",
diff --git a/gui/src/components/ui/Button.tsx b/gui/src/components/ui/Button.tsx
index 4c4192e1..358cab29 100644
--- a/gui/src/components/ui/Button.tsx
+++ b/gui/src/components/ui/Button.tsx
@@ -55,7 +55,7 @@ function Button({
return (
<ButtonPrimitive
data-slot="button"
- className={cn(buttonVariants({ variant, size, className }))}
+ className={cn(buttonVariants({ variant, size }), className)}
{...props}
/>
);