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
Improve image generation action footer and account menu contrast (#8411)
Lee Jacksonc4565cd58b40
diff --git a/studio/frontend/src/components/app-sidebar.tsx b/studio/frontend/src/components/app-sidebar.tsxindex 61b3e164da6..c8953df8291 100644--- a/studio/frontend/src/components/app-sidebar.tsx+++ b/studio/frontend/src/components/app-sidebar.tsx@@ -2657,7 +2657,7 @@ export function AppSidebar() {side="top"align="center"sideOffset={8}- className="app-user-menu menu-soft-surface-up ring-0 w-[16rem] px-2.5 py-2.5 font-heading rounded-[20px] border-0"+ className="app-user-menu menu-soft-surface-up ring-0 w-[16rem] rounded-[20px] border border-transparent px-2.5 py-2.5 font-heading dark:border-white/[0.05]"><DropdownMenuGroup><DropdownMenuItemdiff --git a/studio/frontend/src/features/images/images-page.tsx b/studio/frontend/src/features/images/images-page.tsxindex f9a66a47b4c..5f2bafded6e 100644--- a/studio/frontend/src/features/images/images-page.tsx+++ b/studio/frontend/src/features/images/images-page.tsx@@ -3220,16 +3220,13 @@ export function ImagesPage({ active = true }: { active?: boolean }) {spacing belongs inside each pane. The same 50rem page-container breakpointdrives this body and the header above, regardless of sidebar width. */<div className="flex min-h-0 w-full min-w-0 flex-1 flex-col overflow-y-auto overflow-x-hidden @[50rem]:flex-row @[50rem]:overflow-hidden">- <div className="relative flex w-full shrink-0 flex-col border-b border-border/60 @[50rem]:w-[408px] @[50rem]:overflow-hidden @[50rem]:border-r @[50rem]:border-b-0">+ <div className="flex w-full shrink-0 flex-col border-b border-border/60 @[50rem]:w-[408px] @[50rem]:overflow-hidden @[50rem]:border-r @[50rem]:border-b-0">{/* pl-0.5 keeps focus rings off the scroll container's edge. */}<divref={attachSettingsScroll}onScroll={onSettingsScroll}className={cn(- // pb-20 at every width: the floating Generate button below is absolutely- // positioned over this rail and stands 72px tall (h-11 + pb-7), so a smaller- // phone padding puts it on top of the last control.- "hover-scrollbar panel-scroll-fade flex min-h-0 flex-1 flex-col gap-4 px-10 pt-9 pb-20 @[50rem]:overflow-y-auto",+ "hover-scrollbar panel-scroll-fade-action flex min-h-0 flex-1 flex-col gap-4 px-10 pt-9 pb-6 @[50rem]:overflow-y-auto",settingsFadeClass,)}>@@ -3768,15 +3765,14 @@ export function ImagesPage({ active = true }: { active?: boolean }) {</AdvancedDisclosure></div>- {/* Floats over the settings so it needs no bar of its own. */}- <div className="pointer-events-none absolute inset-x-0 bottom-0 flex justify-center px-10 pb-7">+ {/* The scroll mask provides the fade; leave the footer unpainted to avoid dark-mode banding. */}+ <div className="relative z-10 flex shrink-0 justify-center px-10 pt-0.5 pb-4">{busy === "generating" ? (/* Replaces Generate while a run is in flight, mirroring the video page. Every workflow(Create, Transform, Inpaint, Extend, Upscale, Reference, Edit) funnels through thesame handler, so one control stops all of them. */<Button- // Opaque hover: this one floats over the settings too.- className="pointer-events-auto h-11 px-8 hover:bg-muted dark:hover:bg-muted"+ className="relative z-10 h-11 px-8 hover:bg-muted dark:hover:bg-muted"variant="outline"onClick={handleCancelGenerate}>@@ -3785,7 +3781,7 @@ export function ImagesPage({ active = true }: { active?: boolean }) {</Button>) : (<Button- className="btn-float-action pointer-events-auto h-11 px-8 disabled:bg-muted disabled:text-muted-foreground disabled:opacity-100"+ className="relative z-10 h-11 px-8 disabled:bg-muted disabled:text-muted-foreground disabled:opacity-100"onClick={handleGenerate}disabled={busy !== null || !status?.loaded}>diff --git a/studio/frontend/src/index.css b/studio/frontend/src/index.cssindex 1f7a6b254b7..5e1f9bbba26 100644--- a/studio/frontend/src/index.css+++ b/studio/frontend/src/index.css@@ -1285,6 +1285,55 @@ html[data-chat-font] .aui-root {-webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 16px);mask-image: linear-gradient(to bottom, transparent 0, #000 16px);}++ /* Crossfade Images settings into its in-flow action footer. Multiple alpha stops+ approximate a smooth 48px ease without painting a separate footer overlay. */+ .panel-scroll-fade-action.is-bottom-faded {+ -webkit-mask-image: linear-gradient(+ to bottom,+ #000 0,+ #000 calc(100% - 48px),+ rgba(0, 0, 0, 0.92) calc(100% - 36px),+ rgba(0, 0, 0, 0.7) calc(100% - 24px),+ rgba(0, 0, 0, 0.35) calc(100% - 12px),+ transparent 100%+ );+ mask-image: linear-gradient(+ to bottom,+ #000 0,+ #000 calc(100% - 48px),+ rgba(0, 0, 0, 0.92) calc(100% - 36px),+ rgba(0, 0, 0, 0.7) calc(100% - 24px),+ rgba(0, 0, 0, 0.35) calc(100% - 12px),+ transparent 100%+ );+ }+ .panel-scroll-fade-action.is-scrolled:not(.is-bottom-faded) {+ -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 16px);+ mask-image: linear-gradient(to bottom, transparent 0, #000 16px);+ }+ .panel-scroll-fade-action.is-scrolled.is-bottom-faded {+ -webkit-mask-image: linear-gradient(+ to bottom,+ transparent 0,+ #000 16px,+ #000 calc(100% - 48px),+ rgba(0, 0, 0, 0.92) calc(100% - 36px),+ rgba(0, 0, 0, 0.7) calc(100% - 24px),+ rgba(0, 0, 0, 0.35) calc(100% - 12px),+ transparent 100%+ );+ mask-image: linear-gradient(+ to bottom,+ transparent 0,+ #000 16px,+ #000 calc(100% - 48px),+ rgba(0, 0, 0, 0.92) calc(100% - 36px),+ rgba(0, 0, 0, 0.7) calc(100% - 24px),+ rgba(0, 0, 0, 0.35) calc(100% - 12px),+ transparent 100%+ );+ }.panel-scroll-fade.is-bottom-faded {-webkit-mask-image: linear-gradient(to bottom,