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
Studio: keep chat text out of the header with Glass or a background (#17429)
Nilay4bd4ea577fdc
diff --git a/studio/frontend/src/index.css b/studio/frontend/src/index.cssindex c8c1906d9c4..2ce1082e788 100644--- a/studio/frontend/src/index.css+++ b/studio/frontend/src/index.css@@ -6441,6 +6441,17 @@ html[data-chat-compare] :is([data-wallpaper-workspace], [data-chat-content-root]:is([data-wallpaper-workspace], [data-chat-content-root])[data-wallpaper-ready][data-wallpaper-ready] .aui-thread-viewport:has(> .aui-thread-welcome-root > .aui-thread-welcome-center) {background: transparent;}+/* The header is see-through here, so the thread fades out under it; the side layers keep the scrollbar's strip. */+:is([data-wallpaper-workspace], [data-chat-content-root])[data-wallpaper-ready][data-wallpaper-ready] .aui-thread-viewport:not(.chat-full-view-dock *),+html[data-glass="macos"] .aui-thread-viewport:not(.chat-full-view-dock *) {+ mask-image:+ linear-gradient(to bottom, transparent var(--thread-header-offset, -1.5rem), #000 calc(var(--thread-header-offset, -1.5rem) + 1.5rem)),+ linear-gradient(#000, #000),+ linear-gradient(#000, #000);+ mask-size: 100% 100%, var(--thread-scrollbar-gutter, 10px) 100%, var(--thread-scrollbar-gutter, 10px) 100%;+ mask-position: 0 0, left, right;+ mask-repeat: no-repeat;+}:is([data-wallpaper-workspace], [data-chat-content-root])[data-wallpaper-ready][data-wallpaper-ready] .unsloth-welcome-greeting {position: relative;isolation: isolate;diff --git a/studio/frontend/tests/window-material.test.ts b/studio/frontend/tests/window-material.test.tsindex fa33c718272..fa2018719d6 100644--- a/studio/frontend/tests/window-material.test.ts+++ b/studio/frontend/tests/window-material.test.ts@@ -77,6 +77,14 @@ test("turning the wallpaper fade off drops the band behind the composer", () =>);});+test("the thread fades out under the see-through header of a background or macOS glass", () => {+ const css = readFileSync(new URL("../src/index.css", import.meta.url), "utf8");+ assert.match(+ css,+ /\[data-wallpaper-ready\]\[data-wallpaper-ready\] \.aui-thread-viewport:not\(\.chat-full-view-dock \*\),\nhtml\[data-glass="macos"\] \.aui-thread-viewport:not\(\.chat-full-view-dock \*\) \{\n mask-image:\n linear-gradient\(to bottom, transparent var\(--thread-header-offset, -1\.5rem\), #000 calc\(var\(--thread-header-offset, -1\.5rem\) \+ 1\.5rem\)\),/,+ );+});+test("glass strength repairs malformed persisted data", () => {assert.equal(sanitizeStrength(undefined), 50);assert.equal(sanitizeStrength(Number.NaN), 50);