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: remove the white seam above the chat panel on Windows dark mode (#12425)
Daniel Hanb1f03a118b57
diff --git a/studio/frontend/src/components/tauri/window-titlebar.tsx b/studio/frontend/src/components/tauri/window-titlebar.tsxindex 590f9fb7a57..1387c5f66e6 100644--- a/studio/frontend/src/components/tauri/window-titlebar.tsx+++ b/studio/frontend/src/components/tauri/window-titlebar.tsx@@ -440,12 +440,13 @@ export function WindowTitlebar({/>)}{/* One border for edge and corner: it snaps to device pixels where a 1px box blurs. Pinned, it- is also the sidebar's full-height edge (app-sidebar drops border-r; dark has none). */}+ is also the sidebar's full-height edge (app-sidebar drops border-r; dark has none). Dark+ hides it: any visible border there is lighter than both surfaces and reads as a white seam. */}<divclassName={cn(- "absolute top-0 right-0 h-[12px] border-t border-sidebar-border",+ "absolute top-0 right-0 h-[12px] border-t border-sidebar-border dark:border-transparent",pinned &&- "h-[calc(100dvh-var(--studio-custom-titlebar-height))] rounded-tl-[12px] border-l border-sidebar-border/80 border-t-sidebar-border/90 dark:border-white/10 dark:border-t-white/15",+ "h-[calc(100dvh-var(--studio-custom-titlebar-height))] rounded-tl-[12px] border-l border-sidebar-border/80 border-t-sidebar-border/90",)}style={{ left: pinned ? cornerLeft : 0 }}/>diff --git a/tests/studio/test_desktop_reliability_frontend_contract.py b/tests/studio/test_desktop_reliability_frontend_contract.pyindex 28701dc4fe4..8ec26040806 100644--- a/tests/studio/test_desktop_reliability_frontend_contract.py+++ b/tests/studio/test_desktop_reliability_frontend_contract.py@@ -653,7 +653,13 @@ def test_expanded_titlebar_button_and_corner_match_sidebar_edge():'top-[var(--studio-custom-titlebar-height)] z-[45] h-[12px]"' in decoration)# One border draws the edge and, when pinned, its rounded corner; the top edge always shows.- assert '"absolute top-0 right-0 h-[12px] border-t border-sidebar-border",' in decoration+ assert (+ '"absolute top-0 right-0 h-[12px] border-t border-sidebar-border dark:border-transparent",'+ in decoration+ )+ # Dark draws no seam: a border lighter than both surfaces reads as a white line on Windows.+ assert "dark:border-white" not in decoration+ assert "dark:border-t-white" not in decoration# Pinned, it is the sidebar's full-height edge: dark has no sidebar border-r to continue it.assert re.search(r'pinned &&\s*"h-\[calc\(100dvh-var\(--studio-custom-titlebar-height\)\)\] '