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.

Studio: keep chat titles clear of the options hover circle (#10969)

Michael Hanf93c523f09c0
diff --git a/studio/frontend/src/components/app-sidebar.tsx b/studio/frontend/src/components/app-sidebar.tsx
index f48bff576a3..233f4cb12a6 100644
--- a/studio/frontend/src/components/app-sidebar.tsx
+++ b/studio/frontend/src/components/app-sidebar.tsx
@@ -3051,16 +3051,14 @@ export function AppSidebar() {
: showWorkSpinner
? // A spinner glyph cannot truncate, so clear the kebab's 30px inset (pr-1.5 + size-6).
"group-hover/recent-item:pr-8 group-has-[.sidebar-row-action[data-state=open]]/recent-item:pr-8 [@media(pointer:coarse)]:pr-10"
- : // Hover room for the kebab only; title keeps one more character.
- // Touch rows clear the full always-visible kebab hit area (pr-10).
- "group-hover/recent-item:pr-6 group-has-[.sidebar-row-action[data-state=open]]/recent-item:pr-6 [@media(pointer:coarse)]:pr-10",
- // A focused kebab is revealed without hover, so a spinner row reserves the same room.
- showWorkSpinner &&
- (variant === "project"
- ? "group-has-[.sidebar-row-action:focus-visible]/project-chat-item:pr-14"
- : isPinned
- ? "group-has-[.sidebar-row-action:focus-visible]/recent-item:pr-16"
- : "group-has-[.sidebar-row-action:focus-visible]/recent-item:pr-8"),
+ : // Clear the full menu circle only while it is visible.
+ "group-hover/recent-item:pr-8 group-has-[.sidebar-row-action[data-state=open]]/recent-item:pr-8 [@media(pointer:coarse)]:pr-10",
+ // Keyboard focus reveals the action without hover.
+ variant === "project"
+ ? "group-has-[.sidebar-row-action:focus-visible]/project-chat-item:pr-14"
+ : isPinned
+ ? "group-has-[.sidebar-row-action:focus-visible]/recent-item:pr-16"
+ : "group-has-[.sidebar-row-action:focus-visible]/recent-item:pr-8",
);
const isRenamingThis =