Skip to content

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.

Fix chat text cutoff at composer dock and speed up plus icon spin (#5989)

Michael Han2b51bec946d5
diff --git a/studio/frontend/src/components/assistant-ui/thread.tsx b/studio/frontend/src/components/assistant-ui/thread.tsx
index 83057074ba1..a55c89f6349 100644
--- a/studio/frontend/src/components/assistant-ui/thread.tsx
+++ b/studio/frontend/src/components/assistant-ui/thread.tsx
@@ -380,9 +380,10 @@ const ThreadComposerDock: FC<{
overlay ? "z-40" : "z-20",
)}
>
+ {/* Fade the top edge so scrolling text is not cut off by a hard line. */}
<div
aria-hidden={true}
- className="absolute inset-x-0 bottom-0 top-[10px] bg-background"
+ className="absolute inset-x-0 bottom-0 top-[10px] bg-gradient-to-t from-background from-[calc(100%_-_28px)] to-transparent"
/>
<div className="relative px-5 pb-2">
<div className="pointer-events-auto mx-auto w-full max-w-(--thread-max-width)">
diff --git a/studio/frontend/src/index.css b/studio/frontend/src/index.css
index 70dee1dcd70..b6c5ac04e79 100644
--- a/studio/frontend/src/index.css
+++ b/studio/frontend/src/index.css
@@ -1140,7 +1140,7 @@
/* Open menu rotates the plus 45deg into an x. Ease-in-out for a smooth
spin; keep it at 45deg so it never passes back through a "+". */
.unsloth-composer-plus svg {
- transition: transform 300ms cubic-bezier(0.65, 0, 0.35, 1);
+ transition: transform 250ms cubic-bezier(0.65, 0, 0.35, 1);
will-change: transform;
}
@@ -2009,6 +2009,6 @@
/* Keep the plus/x morph animating under reduced motion (small rotation,
like the spinners above). */
.unsloth-composer-plus svg {
- transition-duration: 300ms !important;
+ transition-duration: 250ms !important;
}
}