Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.
Python agentaichatgptdeepseekfine-tuninggemmaimage-generationllamallmllmsopenaipythonqwenreinforcement-learningself-hostedstable-diffusiontext-to-speechttsuiunsloth
Tidy update banner and auth button spacing (#6279)
Michael Han502d4ade1cc2
diff --git a/studio/frontend/src/components/llama-update-banner.tsx b/studio/frontend/src/components/llama-update-banner.tsxindex 8f8bc5ca7ff..1aa9fc4e604 100644--- a/studio/frontend/src/components/llama-update-banner.tsx+++ b/studio/frontend/src/components/llama-update-banner.tsx@@ -203,11 +203,11 @@ export function LlamaUpdateBanner({/></div>) : (- <div className="mt-4 flex flex-wrap items-center justify-between gap-y-2">+ <div className="mt-4 flex flex-wrap items-center justify-end gap-x-1 gap-y-2"><Buttonsize="sm"variant="ghost"- className="-ml-2 h-auto rounded-full px-2.5 py-2 text-[13px] font-medium text-foreground"+ className="h-auto rounded-full px-3 py-2 text-[13px] font-medium text-foreground"onClick={snooze}data-testid="llama-update-snooze-button">@@ -215,8 +215,8 @@ export function LlamaUpdateBanner({</Button><Buttonsize="sm"- // ml offsets the pill's filled edge so visual gaps stay equal- className="ml-2.5 h-auto rounded-full px-3.5 py-2 text-[13px]"+ // -mr optically aligns the filled pill's edge with the card padding+ className="-mr-1 h-auto rounded-full px-3.5 py-2 text-[13px]"onClick={handleUpdate}data-testid="llama-update-button">diff --git a/studio/frontend/src/components/web/update-banner.tsx b/studio/frontend/src/components/web/update-banner.tsxindex 57fcb98e95c..55ef06166b9 100644--- a/studio/frontend/src/components/web/update-banner.tsx+++ b/studio/frontend/src/components/web/update-banner.tsx@@ -137,24 +137,27 @@ export function WebUpdateBanner({>Release notes</a>- <Button- size="sm"- variant="ghost"- className="h-auto rounded-full px-2.5 py-2 text-[13px] font-medium text-foreground"- onClick={snooze}- data-testid="web-update-snooze-button"- >- Remind me later- </Button>- <Button- size="sm"- // ml offsets the pill's filled edge so visual gaps stay equal- className="ml-2.5 h-auto rounded-full px-3.5 py-2 text-[13px]"- onClick={handleCopyCommand}- data-testid="web-update-copy-button"- >- {copied ? "Copied" : "Copy command"}- </Button>+ {/* wrap + right-align so buttons stack instead of clipping on very narrow banners */}+ <div className="flex flex-wrap items-center justify-end gap-x-1 gap-y-2">+ <Button+ size="sm"+ variant="ghost"+ className="h-auto rounded-full px-3 py-2 text-[13px] font-medium text-foreground"+ onClick={snooze}+ data-testid="web-update-snooze-button"+ >+ Remind me later+ </Button>+ <Button+ size="sm"+ // -mr optically aligns the filled pill's edge with the card padding+ className="-mr-1 h-auto rounded-full px-3.5 py-2 text-[13px]"+ onClick={handleCopyCommand}+ data-testid="web-update-copy-button"+ >+ {copied ? "Copied" : "Copy command"}+ </Button>+ </div></div></div></motion.div>diff --git a/studio/frontend/src/features/auth/components/auth-form.tsx b/studio/frontend/src/features/auth/components/auth-form.tsxindex f32ef6abcf1..731993077f9 100644--- a/studio/frontend/src/features/auth/components/auth-form.tsx+++ b/studio/frontend/src/features/auth/components/auth-form.tsx@@ -443,7 +443,7 @@ export function AuthForm({ mode }: AuthFormProps): ReactElement | null {<Buttontype="submit"- className="mx-auto flex w-fit px-8"+ className="mx-auto flex w-fit px-6"disabled={loading ||statusLoading ||