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: fade Run settings at the edges it scrolls past (#12722)
Michael Hana9c7a3df8c5c
diff --git a/studio/frontend/src/features/chat/chat-settings-sheet.tsx b/studio/frontend/src/features/chat/chat-settings-sheet.tsxindex 5ab4d6d876e..9098725e6dd 100644--- a/studio/frontend/src/features/chat/chat-settings-sheet.tsx+++ b/studio/frontend/src/features/chat/chat-settings-sheet.tsx@@ -51,6 +51,7 @@ import {} from "@/features/model-picker";import { RetrievalSettingsSection } from "@/features/rag";import { useLlamaUpdateCheck } from "@/hooks/use-llama-update-check";+import { useScrollFades } from "@/hooks/use-scroll-fades";import { useUiSpaceScale } from "@/hooks/use-ui-space-scale";import {CHAT_SETTINGS_WIDTH_MIN,@@ -1094,7 +1095,12 @@ export function ChatSettingsPanel({useEffect(() => () => promptObserverRef.current?.disconnect(), []);- const settingsScrollRef = useRef<HTMLDivElement>(null);+ // Settings dissolve at whichever edge they run past, as on Images and Video.+ const {+ attach: attachSettingsScroll,+ onScroll: onSettingsScroll,+ className: settingsFadeClass,+ } = useScrollFades();const settingsContent = (<>@@ -1139,8 +1145,12 @@ export function ChatSettingsPanel({</div><div- ref={settingsScrollRef}- className="run-settings-scroll relative min-h-0 flex-1 overflow-y-auto"+ ref={attachSettingsScroll}+ onScroll={onSettingsScroll}+ className={cn(+ "run-settings-scroll panel-scroll-fade relative min-h-0 flex-1 overflow-y-auto",+ settingsFadeClass,+ )}><div className="px-[calc(18px*var(--ui-space-scale,1))] pt-3">{(hasModelContent || modelConfig) && (diff --git a/studio/frontend/src/index.css b/studio/frontend/src/index.cssindex 0bc130cad4a..5b3868157f3 100644--- a/studio/frontend/src/index.css+++ b/studio/frontend/src/index.css@@ -2568,8 +2568,8 @@ html[data-chat-font] .aui-root {--input: color-mix(in oklab, var(--input-base), var(--contrast-target) var(--contrast-control-mix));}- /* Settings columns on Images and Video: content dissolves at whichever edge it runs- past, rather than being cut off. Same masks as the model picker list. */+ /* Settings columns on Images, Video and Run settings: content dissolves at whichever+ edge it runs past, rather than being cut off. Same masks as the model picker list. */.panel-scroll-fade.is-scrolled {-webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 16px);mask-image: linear-gradient(to bottom, transparent 0, #000 16px);