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
fix studio toast action alignment (#7809)
Maheswar Kumar3f19026f2e70
diff --git a/studio/frontend/src/features/chat/components/model-load-status.tsx b/studio/frontend/src/features/chat/components/model-load-status.tsxindex 6e22c6de4b4..6a789b48ad1 100644--- a/studio/frontend/src/features/chat/components/model-load-status.tsx+++ b/studio/frontend/src/features/chat/components/model-load-status.tsx@@ -46,10 +46,8 @@ export function ModelLoadDescription({splitProgressLabel(progressLabel);return (- <div className="relative flex min-h-12 w-full items-stretch gap-2">- <div className="flex h-full shrink-0 items-center self-center">- <Spinner className="size-3.5 text-muted-foreground" />- </div>+ <div className="relative flex w-full items-center gap-3">+ <Spinner className="size-3.5 shrink-0 text-muted-foreground" /><div className="flex min-w-0 flex-1 flex-col justify-center">{title ? <p className="text-foreground leading-tight font-semibold">{title}</p> : null}{hasProgress ? (diff --git a/studio/frontend/src/index.css b/studio/frontend/src/index.cssindex 4f1fbf49145..fa64c5c6ee3 100644--- a/studio/frontend/src/index.css+++ b/studio/frontend/src/index.css@@ -2388,37 +2388,62 @@ html[data-chat-font] .aui-root {[data-sonner-toast][data-styled='true']:has([data-button]) {display: grid !important;- grid-template-columns: 16px minmax(0, 1fr);+ grid-template-columns: minmax(0, 1fr);align-items: start !important;column-gap: 10px !important;row-gap: 10px !important;}+[data-sonner-toast][data-styled='true']:has([data-button]):has([data-icon]) {+ grid-template-columns: 16px minmax(0, 1fr);+}+[data-sonner-toast][data-styled='true']:has([data-button]) [data-icon] {grid-column: 1;grid-row: 1;}[data-sonner-toast][data-styled='true']:has([data-button]) [data-content] {+ grid-column: 1;+}++[data-sonner-toast][data-styled='true']:has([data-button]):has([data-icon]) [data-content] {grid-column: 2;}[data-sonner-toast][data-styled='true']:has([data-button]) [data-button] {- grid-column: 2;+ grid-column: 1;justify-self: start;margin: 0 !important;}+[data-sonner-toast][data-styled='true']:has([data-button]):has([data-icon]) [data-button] {+ grid-column: 2;+}+[data-sonner-toast][data-styled='true']:has([data-close-button]) {padding-right: 48px !important;}/* Loading toast keeps its own vertical padding from #7683. */[data-sonner-toast][data-styled='true'].chat-model-load-toast {+ display: flex !important;+ align-items: center !important;+ gap: 12px !important;padding-top: 14px !important;padding-bottom: 14px !important;}+[data-sonner-toast][data-styled='true'].chat-model-load-toast [data-content] {+ flex: 1 1 auto;+}++[data-sonner-toast][data-styled='true'].chat-model-load-toast [data-button] {+ align-self: center;+ flex: none;+ margin-left: auto !important;+}+/* Progress bar is the last row; give it room below. */[data-sonner-toast][data-styled='true'].chat-model-load-toast:has([role='progressbar']) {padding-bottom: 18px !important;