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 the sidebar menu shadow in light mode (#12062)
Michael Hanc807acbf44da
diff --git a/studio/frontend/src/index.css b/studio/frontend/src/index.cssindex 4e2fbe82967..84c9dceda9e 100644--- a/studio/frontend/src/index.css+++ b/studio/frontend/src/index.css@@ -2746,8 +2746,9 @@ html[data-chat-font] .aui-root {box-shadow: 0 4px 14px var(--background);}- /* Sidebar and account menus: flat, no shadow. Important to beat the shared menu shadow. */- :is(.unsloth-plus-menu, .app-user-menu).sidebar-menu[data-slot] {+ /* Sidebar and account menus in dark mode: flat, no shadow. Light mode keeps the shared menu+ shadow, which is what lifts the menu off the light sidebar. Important to beat that shadow. */+ .dark :is(.unsloth-plus-menu, .app-user-menu).sidebar-menu[data-slot] {box-shadow: none !important;}diff --git a/studio/frontend/tests/sidebar-custom-sections.test.ts b/studio/frontend/tests/sidebar-custom-sections.test.tsindex d17bbf20c65..3e6ff11c6f1 100644--- a/studio/frontend/tests/sidebar-custom-sections.test.ts+++ b/studio/frontend/tests/sidebar-custom-sections.test.ts@@ -673,8 +673,9 @@ test("the sidebar and account menus share one flat surface and type; other menus/\.unsloth-plus-menu\[data-slot\] \{[\s\S]*?box-shadow: 0 2px 8px -2px rgba\(0, 0, 0, 0\.16\);\n\s*\}/,);const tagged = ":is\\(\\.unsloth-plus-menu, \\.app-user-menu\\)\\.sidebar-menu\\[data-slot\\]";- // No shadow, over the shared menu shadow's !important.- assert.match(css, new RegExp(`${tagged} \\{\\n\\s*box-shadow: none !important;`));+ // No shadow in dark mode, over the shared menu shadow's !important. Light mode keeps it.+ assert.match(css, new RegExp(`\\.dark ${tagged} \\{\\n\\s*box-shadow: none !important;`));+ assert.doesNotMatch(css, new RegExp(`\\n\\t${tagged} \\{\\n\\s*box-shadow: none`));assert.match(css,new RegExp(